From f2d39037eabf2be0d4c22ee9934d343f6070b42a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 5 May 2010 19:41:16 +0000 Subject: [PATCH] -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 --- buildcore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildcore.sh b/buildcore.sh index 0b528514e..52322ae71 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -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