Update mkstatus.sh.

This commit is contained in:
jorton 2004-12-01 14:21:55 +00:00
parent 7c0f3e466d
commit 305e86bbfc

View File

@ -2,7 +2,7 @@
echo '<?xml version="1.0" encoding="UTF-8"?>' echo '<?xml version="1.0" encoding="UTF-8"?>'
echo '<patches>' echo '<patches>'
for f in $*; do for f in $*; do
n=${f//httpd-2\.0\.[0-9]*-/} n=${f//httpd-2\.[0-9]\.[0-9][0-9]-/}
n=${n//.patch/} n=${n//.patch/}
s_HEAD=`grep ^Upstream-HEAD $f | sed 's/Upstream-HEAD: //'` s_HEAD=`grep ^Upstream-HEAD $f | sed 's/Upstream-HEAD: //'`
s_20=`grep ^Upstream-2.0: $f | sed 's/Upstream-2.0: //'` s_20=`grep ^Upstream-2.0: $f | sed 's/Upstream-2.0: //'`