mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	-Fix mklocalrepo.sh when pwd includes spaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -325,7 +325,7 @@ EOF | ||||
| #!/bin/sh | ||||
| cd `dirname $0` | ||||
| REPOFILE=`basename xCAT-*.repo` | ||||
| sed -e 's|baseurl=.*|baseurl=file://'`pwd`'|' $REPOFILE | sed -e 's|gpgkey=.*|gpgkey=file://'`pwd`'/repodata/repomd.xml.key|' > /etc/yum.repos.d/$REPOFILE | ||||
| sed -e 's|baseurl=.*|baseurl=file://'"`pwd`"'|' $REPOFILE | sed -e 's|gpgkey=.*|gpgkey=file://'"`pwd`"'/repodata/repomd.xml.key|' > /etc/yum.repos.d/$REPOFILE | ||||
| cd - | ||||
| EOF2 | ||||
| chmod 775 mklocalrepo.sh | ||||
|   | ||||
		Reference in New Issue
	
	Block a user