style fixes and some quoting in zlibs/bootstrap

This commit is contained in:
parazyd 2017-10-26 21:27:21 +02:00
parent 1aba75a84b
commit 74185101e6
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 4 deletions

View File

@ -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
}