kmerge.sh: Fix line wrapping typo from 9ceebbf
authorW. Trevor King <wking@tremily.us>
Fri, 1 Mar 2013 05:57:39 +0000 (00:57 -0500)
committerMatt Turner <mattst88@gmail.com>
Fri, 1 Mar 2013 06:06:18 +0000 (22:06 -0800)
commit37540ff5e9db28e65a4f55b71c16cec1e7d294ec
treed6dc4c9f71ee0158b66721176c5881a93eddfae3
parent9ceebbfdeac3626d52641c195f09297041298341
kmerge.sh: Fix line wrapping typo from 9ceebbf

In 9ceebbf (kmerge.sh: Make /var/tmp/${clst_kname}.config optional,
2013-02-09), I added a KERNCACHE check to a `[` test, wrapping the two
clauses in the test to avoid a very long line.  Unfortunately,
newlines do not appear to be legal in this position.  For example:

  $ if [ -n "a" -a
  > -n "b" ]; then echo "c"; fi
  bash: [: missing `]'
  bash: -n: command not found

This commit fixes the error by explicitly wrapping the line with a
backslash.

Reviewed-by: Matt Turner <mattst88@gmail.com>
targets/support/kmerge.sh