summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index e037ea87c..ab104b4a8 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)