diff options
author | Daniel Baumann <daniel@debian.org> | 2008-01-15 08:25:29 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:35:39 +0100 |
commit | 342d2870ebe66fc987bbb6523c67885631eb0e00 (patch) | |
tree | 6d9332db2197bb7b54e3e3b97f83474cd2430e56 /functions/conffile.sh | |
parent | e8e4001524ee6fa47ce7ffe06da39b6d43e065d2 (diff) | |
download | vyos-live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.tar.gz vyos-live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.zip |
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'functions/conffile.sh')
-rwxr-xr-x | functions/conffile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/conffile.sh b/functions/conffile.sh index f60abe243..d0291e2cc 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -12,9 +12,9 @@ set -e Read_conffile () { FILES="${1} ${1}.${LH_ARCHITECTURE} ${1}.${DISTRIBUTION}" - FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's/^lh_//')" - FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's/^lh_//').${ARCHITECTURE}" - FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's/^lh_//').${DISTRIBUTION}" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lh_||')" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lh_||').${ARCHITECTURE}" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lh_||').${DISTRIBUTION}" for FILE in ${FILES} do |