summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_clean6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index e037ea8..ab104b4 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -52,7 +52,11 @@ do
"${0}" --binary
"${0}" --stage
"${0}" --source
- rmdir --ignore-fail-on-non-empty scripts
+
+ if [ -d scripts ]
+ then
+ rmdir --ignore-fail-on-non-empty scripts
+ fi
;;
--cache)