diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-27 18:31:05 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:45 +0100 |
commit | 34192bcf316cbdd2a59a0c33e374d1a204bbd0ad (patch) | |
tree | f268a0b633d39b00655bbf1488f82f3319ce39d5 /helpers/lh_clean | |
parent | a41e039597d8cf8a09cde3533210b9a5a26edf13 (diff) | |
download | live-build-34192bcf316cbdd2a59a0c33e374d1a204bbd0ad.zip live-build-34192bcf316cbdd2a59a0c33e374d1a204bbd0ad.tar.gz |
Don't attempt to remove scripts directory in lh_clean if it doesn't exist.
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-x | helpers/lh_clean | 6 |
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) |