projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9c03bf
)
Adjust regex for detecting and changing filenames
author
Ulrich Dangel
<uli@spamt.net>
Mon, 19 Oct 2009 23:05:22 +0000
(
01:05
+0200)
committer
Ulrich Dangel
<uli@spamt.net>
Mon, 19 Oct 2009 23:05:22 +0000
(
01:05
+0200)
grml2usb
patch
|
blob
|
history
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)
- 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")