Permalink
Browse files

Architecture sanity check: be more restrictive using a word-regexp grep

  • Loading branch information...
1 parent 6104812 commit 3f2420b0322de700f66bf453e9d53d158e52a2cc @mika mika committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grml-live
View
@@ -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
-if echo $CLASSES | grep -qi i386 ; then
+if echo $CLASSES | grep -qw I386 ; 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?)."

0 comments on commit 3f2420b

Please sign in to comment.