Skip to content

Commit

Permalink
Corrected merge.sh filename bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 4, 2009
1 parent 027bc34 commit 7a26b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/merge.sh
Expand Up @@ -20,7 +20,7 @@ gcc -o iself -s -O3 ../iself.c
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
Expand Down

0 comments on commit 7a26b28

Please sign in to comment.