devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1693937 - /devicemap/trunk/clients/2.0/reference/test.sh
Date Mon, 03 Aug 2015 17:09:25 GMT
Author: rezan
Date: Mon Aug  3 17:09:25 2015
New Revision: 1693937

URL: http://svn.apache.org/r1693937
Log:
basename

Modified:
    devicemap/trunk/clients/2.0/reference/test.sh

Modified: devicemap/trunk/clients/2.0/reference/test.sh
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/reference/test.sh?rev=1693937&r1=1693936&r2=1693937&view=diff
==============================================================================
--- devicemap/trunk/clients/2.0/reference/test.sh (original)
+++ devicemap/trunk/clients/2.0/reference/test.sh Mon Aug  3 17:09:25 2015
@@ -20,7 +20,7 @@ PASS=
 
 for DROOT in $DOMAINS
 do
-    DOMAIN=`echo $DROOT | sed "s/^.*\///"`
+    DOMAIN=`basename $DROOT`
 
     if [ ! -d $DROOT -o "`ls $DROOT | grep pattern`" = "" ]
     then



Mime
View raw message