[Fai-commit] r3663 - people/eartoast/features/clean-rcs/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Sun Jul 23 13:53:05 UTC 2006


Author: glaweh-guest
Date: 2006-07-23 13:53:04 +0000 (Sun, 23 Jul 2006)
New Revision: 3663

Modified:
   people/eartoast/features/clean-rcs/lib/get-config-dir
Log:
document better what we are doing


Modified: people/eartoast/features/clean-rcs/lib/get-config-dir
===================================================================
--- people/eartoast/features/clean-rcs/lib/get-config-dir	2006-07-23 13:46:47 UTC (rev 3662)
+++ people/eartoast/features/clean-rcs/lib/get-config-dir	2006-07-23 13:53:04 UTC (rev 3663)
@@ -16,10 +16,15 @@
 	die "Error: Provide the URL to obtain the fai config storage in \$FAI_CONFIG_SRC"
 fi
 
-# HG: extract major method to get the config dir
+# HG: extract method to get the config dir
+# matched string: "cvs[+ssh]://user at host/path/to/cvsroot module[=tag]"
+#                  ^^^
+#                 "nfs://host/path/to/exported/config"
+#                  ^^^
+# the "major" protocol name is the one up to the first "+", if it exists
 FAI_CONFIG_METHOD=$(expr match "$FAI_CONFIG_SRC" '\([^+]*\).*://.*')
 
-# HG: run get-fai-$blah script if it exists
+# HG: run get-fai-$method script if it exists
 if which get-config-dir-$FAI_CONFIG_METHOD &>/dev/null ; then
 	get-config-dir-$FAI_CONFIG_METHOD
 else




More information about the Fai-commit mailing list