diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-19 19:49:16 +0100 |
|---|---|---|
| committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-19 19:49:16 +0100 |
| commit | daec955a09add75ec425bcf48cc40584f940b6b8 (patch) | |
| tree | fb86411115e38205401fcff954394595c4912ae0 /helpers/lh_binary_syslinux | |
| parent | 30bafdae5792670fea6f3f6f68e7e894d266483f (diff) | |
| download | vyos-live-build-daec955a09add75ec425bcf48cc40584f940b6b8.tar.gz vyos-live-build-daec955a09add75ec425bcf48cc40584f940b6b8.zip | |
Consolidate grep text searching predicates to use "grep -qs"
If this is deemed not portable enough in the future, it should be easy
enough to find/replace.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers/lh_binary_syslinux')
| -rwxr-xr-x | helpers/lh_binary_syslinux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 57304e3c9..f0338ae5f 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -280,7 +280,7 @@ Configure_syslinux_templates () # Syslinux v3.31 in etch does not support include statements if [ "${LH_DISTRIBUTION}" = "etch" ] then - while grep -q ^include ${SCREEN_PATH}/syslinux.cfg + while grep -qs ^include ${SCREEN_PATH}/syslinux.cfg do INCLUDES=$(grep ^include ${SCREEN_PATH}/syslinux.cfg |awk '{print $2}') |
