summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorRoland Clobus <rclobus@rclobus.nl>2020-12-13 19:23:20 +0100
committerRoland Clobus <rclobus@rclobus.nl>2020-12-13 19:23:20 +0100
commitfac389a51bbca45b2c240a483cc55a2d2a9e8200 (patch)
tree01f392d9b5bce4f00158fb4650c324b0da335d50 /functions
parentedb12253eb785f0bccd0f7c19d23d7f9483273e1 (diff)
downloadvyos-live-build-fac389a51bbca45b2c240a483cc55a2d2a9e8200.tar.gz
vyos-live-build-fac389a51bbca45b2c240a483cc55a2d2a9e8200.zip
A second invocation of 'lb config' will result in an identical settings file
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/configuration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh
index bd348c45d..62d7830a6 100755
--- a/functions/configuration.sh
+++ b/functions/configuration.sh
@@ -116,7 +116,7 @@ Prepare_config ()
if gzip --help | grep -qs "\-\-rsyncable"
then
- GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable"
+ GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -E -e 's|[ ]?--rsyncable||') --rsyncable"
fi
LB_CACHE="${LB_CACHE:-true}"