[Fai-commit] r4128 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Thu Nov 2 11:32:51 CET 2006
Author: lange
Date: 2006-11-02 11:32:50 +0100 (Thu, 02 Nov 2006)
New Revision: 4128
Modified:
trunk/lib/get-config-dir-cvs
Log:
fixed regular expression as 'expr' automatically anchors to the beginning
Modified: trunk/lib/get-config-dir-cvs
===================================================================
--- trunk/lib/get-config-dir-cvs 2006-11-02 00:04:04 UTC (rev 4127)
+++ trunk/lib/get-config-dir-cvs 2006-11-02 10:32:50 UTC (rev 4128)
@@ -14,7 +14,7 @@
protocol=$(expr match "$FAI_CONFIG_SRC" '\([^:]*\)://')
dir=$(expr match "$FAI_CONFIG_SRC" '[^:]*://\([^[:space:]]\+\)[[:space:]]\+')
module=$(expr match "$FAI_CONFIG_SRC" '[^:]*://.*[[:space:]]\+\([^=]*\)')
-tag=$(expr match "$FAI_CONFIG_SRC" '=\([^=]*\)')
+tag=$(expr match "$FAI_CONFIG_SRC" '[^=]*=\([^=]*\)')
case $protocol in
cvs+ssh)
More information about the Fai-commit
mailing list