[pLog-svn] r6780 - plog/branches/lifetype-1.2/bin-devel

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Dec 22 14:12:08 EST 2008


Author: oscar
Date: 2008-12-22 14:12:07 -0500 (Mon, 22 Dec 2008)
New Revision: 6780

Modified:
   plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh
   plog/branches/lifetype-1.2/bin-devel/build-plugins-nightly.sh
Log:
more basename

Modified: plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh	2008-12-22 19:09:50 UTC (rev 6779)
+++ plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh	2008-12-22 19:12:07 UTC (rev 6780)
@@ -3,7 +3,7 @@
 set -e
 set -u
 
-TYPE=`echo -n $0 | cut -f2 -d-`
+TYPE=`basename $0 | cut -f2 -d-`
 
 #
 # Script to generate distribution builds of LifeType

Modified: plog/branches/lifetype-1.2/bin-devel/build-plugins-nightly.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-plugins-nightly.sh	2008-12-22 19:09:50 UTC (rev 6779)
+++ plog/branches/lifetype-1.2/bin-devel/build-plugins-nightly.sh	2008-12-22 19:12:07 UTC (rev 6780)
@@ -3,7 +3,7 @@
 set -e
 set -u
 
-TYPE=`echo -n $0 | cut -f2 -d-`
+TYPE=`basename $0 | cut -f2 -d-`
 
 # check parameters
 if [ $# -lt 2 ]; then



More information about the pLog-svn mailing list