cvs: qaweb /tools phport.sh
| From: | Sebastian Nohn | Date: | Wed, 13 Nov 2002 17:45:58 +0000 |
| Subject: | cvs: qaweb /tools phport.sh | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-6750@lists.php.net to get a copy of this message | ||
nohn Wed Nov 13 12:45:58 2002 EDT
Modified files:
/qaweb/tools phport.sh
Log:
Sascha Schumann: "The sed expression can be compressed to s#.*/##"
Index: qaweb/tools/phport.sh
diff -u qaweb/tools/phport.sh:1.16 qaweb/tools/phport.sh:1.17
--- qaweb/tools/phport.sh:1.16 Wed Nov 13 07:56:37 2002
+++ qaweb/tools/phport.sh Wed Nov 13 12:45:58 2002
@@ -16,7 +16,7 @@
# | Sebastian Nohn <nohn@php.net> |
# +----------------------------------------------------------------------+
#
-# $Id: phport.sh,v 1.16 2002/11/13 12:56:37 nohn Exp $
+# $Id: phport.sh,v 1.17 2002/11/13 17:45:58 nohn Exp $
# The PHP Port project should provide the ability to build and test
# any PHP4+ Version with any module/webserver.
@@ -91,7 +91,7 @@
snap) # 24h distfile!!
if [ $2 ] ; then
SNAPURI=$2;
- PHPSNAPFILE=
echo $SNAPURI | sed 's/.*\///g'
+ PHPSNAPFILE="echo $SNAPURI | sed 's#.*/##'"
else
SNAPURI=$PHPSNAPSERVER/$PHPSNAPFILE
fi