[arch-commits] Commit in syslinux/trunk (syslinux-install_update)

Anatol Pomozov anatolik at archlinux.org
Sat Sep 9 20:22:36 UTC 2017


    Date: Saturday, September 9, 2017 @ 20:22:35
  Author: anatolik
Revision: 305194

FS#55250 change partnumber pattern to [[:digit:]]* to match loop0p0 case

Modified:
  syslinux/trunk/syslinux-install_update

-------------------------+
 syslinux-install_update |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: syslinux-install_update
===================================================================
--- syslinux-install_update	2017-09-09 20:00:06 UTC (rev 305193)
+++ syslinux-install_update	2017-09-09 20:22:35 UTC (rev 305194)
@@ -60,7 +60,7 @@
 
     case "$part" in
         *[[:digit:]]p[[:digit:]]*)
-            local disk="${part%%p$partnum}" # get everything before p1
+            local disk="${part%%p[[:digit:]]*}" # get everything before p1
             ;;
         *)
             local disk="${part%%[[:digit:]]*}"



More information about the arch-commits mailing list