git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc88fd8
)
Fix quoting.
author
rjones
<rjones>
Mon, 23 Mar 2009 19:53:05 +0000
(19:53 +0000)
committer
rjones
<rjones>
Mon, 23 Mar 2009 19:53:05 +0000
(19:53 +0000)
febootstrap-minimize.sh
patch
|
blob
|
history
diff --git
a/febootstrap-minimize.sh
b/febootstrap-minimize.sh
index
90915e3
..
c9854a0
100755
(executable)
--- a/
febootstrap-minimize.sh
+++ b/
febootstrap-minimize.sh
@@
-283,10
+283,10
@@
if [ "$pack_executables" = "yes" ]; then
xargs file |
grep executable |
awk -F: '{print $1}'); do
- base=$(basename
$path
)
- cp
$path $tmpdir
- (cd
$tmpdir && upx -q -q --best $base
)
- cat
$tmpdir/$base > $path
- rm
$tmpdir/$base
+ base=$(basename
"$path"
)
+ cp
"$path" "$tmpdir"
+ (cd
"$tmpdir" && upx -q -q --best "$base"
)
+ cat
"$tmpdir"/"$base" > "$path"
+ rm
"$tmpdir"/"$base"
done
fi