]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
add clean target
authorElan Ruusamäe <glen@delfi.ee>
Tue, 31 Jul 2012 20:32:34 +0000 (23:32 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 31 Jul 2012 20:32:34 +0000 (23:32 +0300)
pear-autoup.sh

index 3c6a0899385543788f6b170e35d7edca41116467..96503f5481245072ed038699ab7121da54eabe58 100755 (executable)
@@ -9,6 +9,11 @@ set -e
 
 builder=builder
 
+if [ "$1" = "clean" ]; then
+       rm -rf php-pear-* php-phpunit-* php-symfony-* php-firephp-* php-horde-* php-phpdocs-* pear.* BUILD/* RPMS/*
+       exit 0
+fi
+
 # test that php is working
 php -r 'echo "PHP is working OK\n";'
 
This page took 0.032705 seconds and 4 git commands to generate.