diff options
author | root <root@dasajuma.(none)> | 2010-09-02 10:26:04 +0200 |
---|---|---|
committer | root <root@dasajuma.(none)> | 2010-09-02 10:26:04 +0200 |
commit | 8e0d211bf674953f2830830e27cb80a8b720ef17 (patch) | |
tree | a7814d6dd37b84476628e51d9fcb5f3ea98bba8e /auto/clean | |
download | kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.zip kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.tar.gz |
Initial commit
Diffstat (limited to 'auto/clean')
-rwxr-xr-x | auto/clean | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/auto/clean b/auto/clean new file mode 100755 index 0000000..90634ac --- /dev/null +++ b/auto/clean @@ -0,0 +1,17 @@ +#!/bin/sh + +rm -f build.log + +# Remove generated files +rm -f config/binary config/bootstrap config/chroot config/common config/source + +# Remove empty directories in config tree +if ls config/*/ > /dev/null 2>&1 +then + rmdir --ignore-fail-on-non-empty config/*/ +fi + +if [ -d config ] +then + rmdir --ignore-fail-on-non-empty config +fi |