projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6104812
)
Architecture sanity check: be more restrictive using a word-regexp grep
author
Michael Prokop
<mika@grml.org>
Mon, 4 Jun 2012 21:26:39 +0000
(23:26 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 4 Jun 2012 21:26:39 +0000
(23:26 +0200)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
ef840f6
..
9f2add8
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-592,7
+592,7
@@
export SUITE # make sure it's available in FAI scripts
# validate whether the specified architecture class matches the
# architecture (option), otherwise installation of kernel will fail
# validate whether the specified architecture class matches the
# architecture (option), otherwise installation of kernel will fail
-if echo $CLASSES | grep -q
i i
386 ; then
+if echo $CLASSES | grep -q
w I
386 ; then
if ! [[ "$ARCH" == "i386" ]] ; then
log "Error: You specified the I386 class but are trying to build something else (AMD64?)."
eerror "Error: You specified the I386 class but are trying to build something else (AMD64?)."
if ! [[ "$ARCH" == "i386" ]] ; then
log "Error: You specified the I386 class but are trying to build something else (AMD64?)."
eerror "Error: You specified the I386 class but are trying to build something else (AMD64?)."