summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrjones <rjones>2009-03-23 19:53:05 +0000
committerrjones <rjones>2009-03-23 19:53:05 +0000
commit1453b93517823b64acfe841d220e7afeec425544 (patch)
tree4b08a839e24866cc210eca8e46263226f95548dc
parentdc88fd84748d2ed48f3035e4f46b80a90daa889d (diff)
downloadfebootstrap-1453b93517823b64acfe841d220e7afeec425544.tar.gz
febootstrap-1453b93517823b64acfe841d220e7afeec425544.tar.xz
febootstrap-1453b93517823b64acfe841d220e7afeec425544.zip
Fix quoting.
-rwxr-xr-xfebootstrap-minimize.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/febootstrap-minimize.sh b/febootstrap-minimize.sh
index 90915e3..c9854a0 100755
--- 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