packages: php/php-branch.sh - scriptable output
glen
glen at pld-linux.org
Sun Oct 11 20:06:59 CEST 2009
Author: glen Date: Sun Oct 11 18:06:59 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- scriptable output
---- Files affected:
packages/php:
php-branch.sh (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/php/php-branch.sh
diff -u packages/php/php-branch.sh:1.4 packages/php/php-branch.sh:1.5
--- packages/php/php-branch.sh:1.4 Mon Oct 5 11:39:28 2009
+++ packages/php/php-branch.sh Sun Oct 11 20:06:54 2009
@@ -3,6 +3,7 @@
svn=http://svn.php.net/repository/php/php-src
tag=php_5_2_11
branch=PHP_5_2
+out=php-branch.diff
d=$-
filter() {
@@ -14,11 +15,11 @@
old=$svn/tags/$tag
new=$svn/branches/$branch
echo >&2 "Running diff: $old -> $new"
-LC_ALL=C svn diff --old=$old --new=$new | filter > php-branch.diff.tmp
+LC_ALL=C svn diff --old=$old --new=$new | filter > $out.tmp
-if cmp -s php-branch.diff{,.tmp}; then
+if cmp -s $out{,.tmp}; then
echo >&2 "No new diffs..."
- rm -f php-branch.diff.tmp
+ rm -f $out.tmp
exit 0
fi
-mv -f php-branch.diff{.tmp,}
+mv -f $out{.tmp,}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php-branch.sh?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list