[csw-devel] SF.net SVN: opencsw:[318] gar-wrapper/mgar
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Tue Feb 22 01:42:31 CET 2011
Revision: 318
http://opencsw.svn.sourceforge.net/opencsw/?rev=318&view=rev
Author: skayser
Date: 2011-02-22 00:42:30 +0000 (Tue, 22 Feb 2011)
Log Message:
-----------
mgar: fix global command recognition for "commit|ci"
Modified Paths:
--------------
gar-wrapper/mgar
Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar 2011-02-22 00:04:28 UTC (rev 317)
+++ gar-wrapper/mgar 2011-02-22 00:42:30 UTC (rev 318)
@@ -15,6 +15,7 @@
# ----------------------------------------------------------------------------
#
# Todos:
+# * In commit mode, if (pwd.endswith('trunk') and svn.rev -eq 0) commit ..
# * Add command to update mgar itself
# * Recipes: Move from svn:externals to GARTYPE
# * Integrate the creation of a new package (with sanity check whether
@@ -116,7 +117,7 @@
function is_per_pkg_command {
__cmd=$1
__global_cmds=`sed -ne '/^# global-cmds/,/^# \/global-cmds/p' $0 | \
- ggrep -E '^\s*[^)]+\) ' | cut -d\) -f1`
+ ggrep -E '^\s*[^)]+\) ' | cut -d\) -f1 | tr '|' '\n'`
while read cmd; do
[ "$cmd" == "$1" ] && return 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list