From b7fedae88529443141471043acf75223befc5f34 Mon Sep 17 00:00:00 2001 From: parazyd Date: Sat, 15 Apr 2017 18:17:02 +0200 Subject: [PATCH] unpack the tarball now and then --- zlibs/bootstrap | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/zlibs/bootstrap b/zlibs/bootstrap index a2ef358..de0e67c 100644 --- a/zlibs/bootstrap +++ b/zlibs/bootstrap @@ -116,7 +116,7 @@ bootstrap_tar_pack() { local _dest=$(dirname $bootstrap_tgz) if [[ -f $bootstrap_tgz ]]; then - act "tarball found already in $_dest" + notice "tarball found already in $_dest" else notice "Creating boostrap tarball in $bootstrap_tgz" silly @@ -138,14 +138,13 @@ bootstrap_tar_unpack() { ckreq || return 1 if [[ -f "${unpath}/.keep" ]]; then + act "skipping tarball unpack" + else + sudo rm -rf ${unpath} mkdir -p ${unpath} silly sudo tar xfp $bootstrap_tgz -C ${unpath} sudo mkdir -p ${unpath}/{boot,dev,sys,proc} - else - error "no .keep file found. exiting..." - zerr - exit 1 fi cat </dev/null