[packages/rpm-build-tools] add clean target
glen
glen at pld-linux.org
Tue Jul 31 22:34:07 CEST 2012
commit 4860a9ad56068c7c958d4b8e4ffbb59e4989c06d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jul 31 23:32:34 2012 +0300
add clean target
pear-autoup.sh | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/pear-autoup.sh b/pear-autoup.sh
index 3c6a089..96503f5 100755
--- a/pear-autoup.sh
+++ b/pear-autoup.sh
@@ -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";'
More information about the pld-cvs-commit
mailing list