Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Nordhøy <epost@anotheragency.no>2020-01-27 03:35:15 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-01-27 03:35:15 +0300
commitf512aa58e8e55f8e622af24eec656c5556541b05 (patch)
tree5085c2bdcc7a647bde4132bb2da0ea3c31145c8f /scripts
parentdc2c459bdfc93cfc4448adb6d4313a8fadb6456e (diff)
Safer removal of build directory
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ubuntu-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ubuntu-build.sh b/scripts/ubuntu-build.sh
index 3d25164c2..b3e555fda 100755
--- a/scripts/ubuntu-build.sh
+++ b/scripts/ubuntu-build.sh
@@ -60,7 +60,7 @@ PKG_DIR="${PKG_NAME}_${PKG_VER}"
echo $PKG_VER
mkdir -p ${BDIR}
-rm -rf ${BDIR}/*
+rm -rf "${BDIR:?}/"*
# exports repo without .git folder and other operative system clients
git archive --format tar --prefix "${BDIR}/${PKG_DIR}/" HEAD | \