commit 74185101e6aebf59f0391d7f12d60a2d962b36de
parent 1aba75a84b9e6dd4239f40d4c09f8266308191cc
Author: parazyd <parazyd@dyne.org>
Date: Thu, 26 Oct 2017 21:27:21 +0200
style fixes and some quoting in zlibs/bootstrap
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -141,9 +141,9 @@ bootstrap_tar_pack() {
bootstrap_tgz="$1"
ckreq || return 1
- local _dest=$(dirname $bootstrap_tgz)
+ local _dest="$(dirname $bootstrap_tgz)"
- if [[ -f $bootstrap_tgz ]]; then
+ if [[ -f "$bootstrap_tgz" ]]; then
notice "tarball found already in $_dest"
else
notice "Creating boostrap tarball in $bootstrap_tgz"
@@ -153,8 +153,7 @@ bootstrap_tar_pack() {
mkdir -p ${_dest}
silly
sudo tar czfp $bootstrap_tgz \
- --exclude={./boot,./dev,./sys,./proc} \
- ./
+ --exclude={./boot,./dev,./sys,./proc} .
popd
fi
}