Corrected merge.sh filename bug.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 04 Oct 2009 16:15:45 -0400
changeset 68 79f33789900d
parent 67 944bb02f0743
child 69 eac4c3810ee4
Corrected merge.sh filename bug.
misc/merge.sh
--- a/misc/merge.sh	Sun Oct 04 14:59:34 2009 -0400
+++ b/misc/merge.sh	Sun Oct 04 16:15:45 2009 -0400
@@ -20,7 +20,7 @@
 time for feh in bin boot etc lib opt sbin usr var ; do find /x86/$feh -type f -exec ./iself {} \; ; done |perl -w -pi -e 's/\A\/x86\///;' |grep -v "usr/lib64" |sort |uniq > ./binaries-32
 
 for feh in `cat binaries-32` ; do
-    mkdir -p --mode=0755 `dirname $feh`
+    mkdir -p --mode=0755 `dirname "/$feh"`
     if [ -f "/$feh" ]; then
         ./fatelf-glue tmp-fatelf "/$feh" "/x86/$feh"
         chmod --reference="/$feh" tmp-fatelf