[X2Go-Commits] [buildscripts] 11/14: bin/build-deb-package: pass end of options argument when calling to rm.
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 3 03:07:49 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 775d09bdcf18666bfd90cffa6cdd23e63f4ba4c1
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Apr 3 03:04:56 2015 +0200
bin/build-deb-package: pass end of options argument when calling to rm.
---
bin/build-deb-package | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
}
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list