projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust regex for detecting and changing filenames
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
632134e
..
457346a
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1350,7
+1350,7
@@
def initial_syslinux_config(target):
def adjust_syslinux_bootoptions(src_name, dst_name, flavour):
append_re = re.compile("^(\s*append.*)$", re.I)
def adjust_syslinux_bootoptions(src_name, dst_name, flavour):
append_re = re.compile("^(\s*append.*)$", re.I)
- boot_re = re.compile("/boot/([a-zA-Z0-9_]+/)+(
\w
+)")
+ boot_re = re.compile("/boot/([a-zA-Z0-9_]+/)+(
[a-zA-Z0-9._]
+)")
flavour_re = re.compile("(label.*)(grml\w+)")
default_re = re.compile("(default.cfg)")
src = open(src_name, "r")
flavour_re = re.compile("(label.*)(grml\w+)")
default_re = re.compile("(default.cfg)")
src = open(src_name, "r")