[Collab-qa-commits] r540 - bapase

lucas at alioth.debian.org lucas at alioth.debian.org
Tue Dec 4 11:29:24 UTC 2007


Author: lucas
Date: 2007-12-04 11:29:23 +0000 (Tue, 04 Dec 2007)
New Revision: 540

Modified:
   bapase/add_pa.sh
Log:
fixed small bug in add_pa.sh

Modified: bapase/add_pa.sh
===================================================================
--- bapase/add_pa.sh	2007-12-04 00:29:31 UTC (rev 539)
+++ bapase/add_pa.sh	2007-12-04 11:29:23 UTC (rev 540)
@@ -10,7 +10,7 @@
 	exit 1
 fi
 
-l=$(grep -n "$1" package-actions.txt | tail -1)
+l=$(grep -n "^$1 " package-actions.txt | tail -1)
 
 if [ $? -eq 0 ]; then
 	l=$( echo $l | cut -d: -f1 )




More information about the Collab-qa-commits mailing list