tstyle fixes and some quoting in zlibs/bootstrap - libdevuansdk - common library for devuan's simple distro kits (HTM) git clone https://git.parazyd.org/libdevuansdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 74185101e6aebf59f0391d7f12d60a2d962b36de (DIR) parent 1aba75a84b9e6dd4239f40d4c09f8266308191cc (HTM) Author: parazyd <parazyd@dyne.org> Date: Thu, 26 Oct 2017 21:27:21 +0200 style fixes and some quoting in zlibs/bootstrap Diffstat: M zlibs/bootstrap | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- (DIR) diff --git a/zlibs/bootstrap b/zlibs/bootstrap t@@ -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" t@@ -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 }