From b20be19088a1bb17876fee81ccb180fddc7561ac Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Jan 2013 13:38:31 +0000 Subject: [PATCH] apply a bit of directories-with-spaces-in-names protection to build-gtk-stack git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14018 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/build-gtk-stack | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/build-gtk-stack b/tools/build-gtk-stack index 7b62859f88..aa14b7f98d 100755 --- a/tools/build-gtk-stack +++ b/tools/build-gtk-stack @@ -316,11 +316,11 @@ if [ x$patch != x ] ; then if uname -a | grep --silent arwin ; then patches=`ls $this_script_dir/current-gtk-patches/*.patch` else - patches=$this_script_dir/current-gtk-patches/gtkrelocation.patch + patches="$this_script_dir/current-gtk-patches/gtkrelocation.patch" fi for patch in $patches ; do - if patch $unpatch --dry-run -p1 < $patch ; then + if patch $unpatch --dry-run -p1 < "$patch" ; then : else echo "$? : Patch $patch no longer applies ($unpatch) cleanly." @@ -330,7 +330,7 @@ if [ x$patch != x ] ; then echo "Applying ($unpatch) patches ..." for patch in $patches ; do - patch $unpatch -p1 < $patch + patch $unpatch -p1 < "$patch" done exit 0 fi