summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-03 03:04:56 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-03 03:04:56 +0200
commit775d09bdcf18666bfd90cffa6cdd23e63f4ba4c1 (patch)
tree91528a1ec6b0d682b3d29f6cdc8de17f98712882 /bin
parent5d0ce798faecef51fca8707ad4cc19ad127a90bf (diff)
downloadbuildscripts-775d09bdcf18666bfd90cffa6cdd23e63f4ba4c1.tar.gz
buildscripts-775d09bdcf18666bfd90cffa6cdd23e63f4ba4c1.tar.bz2
buildscripts-775d09bdcf18666bfd90cffa6cdd23e63f4ba4c1.zip
bin/build-deb-package: pass end of options argument when calling to rm.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-deb-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-deb-package b/bin/build-deb-package
index ec6fbc9..c5265a1 100755
--- a/bin/build-deb-package
+++ b/bin/build-deb-package
@@ -57,7 +57,7 @@ cleanup () {
typeset temp_dir=""
for temp_dir in "${temp_cleanup[@]}"; do
if [ -n "${temp_dir}" ] && [ -d "${temp_dir}" ]; then
- rm -Rf "${temp_dir}"
+ rm -Rf -- "${temp_dir}"
fi
done
}