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 | |
parent | a41e039597d8cf8a09cde3533210b9a5a26edf13 (diff) | |
download | vyos-live-build-34192bcf316cbdd2a59a0c33e374d1a204bbd0ad.tar.gz vyos-live-build-34192bcf316cbdd2a59a0c33e374d1a204bbd0ad.zip |
Don't attempt to remove scripts directory in lh_clean if it doesn't exist.
-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 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) |