SVN: geninitrd/trunk/geninitrd

pawelz pawelz at pld-linux.org
Sat Nov 29 20:23:42 CET 2008


Author: pawelz
Date: Sat Nov 29 20:23:42 2008
New Revision: 10013

Modified:
   geninitrd/trunk/geninitrd
Log:
- fixed parsing of lvmtoolsversion argument


Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Sat Nov 29 20:23:42 2008
@@ -1640,10 +1640,12 @@
 	--without-suspend2 | --without-tuxonice)
 		USE_TUXONICE=no
 		;;
-	--lvmtoolsversion=|--lvmversion=)
-		LVMTOOLSVERSION=${1#--lvmtoolsversion=}
+	--lvmversion=*)
 		LVMTOOLSVERSION=${1#--lvmversion=}
 		;;
+	--lvmtoolsversion=*)
+		LVMTOOLSVERSION=${1#--lvmtoolsversion=}
+		;;
 	--lvmtoolsversion|--lvmversion)
 		LVMTOOLSVERSION=$2
 		shift


More information about the pld-cvs-commit mailing list