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 /helpers/lh_binary_includes | |
parent | e8e4001524ee6fa47ce7ffe06da39b6d43e065d2 (diff) | |
download | live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.zip live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.tar.gz |
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'helpers/lh_binary_includes')
-rwxr-xr-x | helpers/lh_binary_includes | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes index b4230a8..c2b2399 100755 --- a/helpers/lh_binary_includes +++ b/helpers/lh_binary_includes @@ -133,7 +133,7 @@ then fi # Adjusting install templates - ARCHITECTURE="$(echo ${LH_ARCHITECTURE} | sed -e 's# #/#g')" + ARCHITECTURE="$(echo ${LH_ARCHITECTURE} | sed -e 's| |/|g')" DISTRIBUTION="$(echo ${LH_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]')" DISTRIBUTION="${DISTRIBUTION}$(echo ${LH_DISTRIBUTION} | cut -b 2-)" eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`" @@ -157,8 +157,8 @@ then DEBIAN_TOOLS_TXT="/tools/" fi - sed -i -e "s#DEBIAN_NAME#${DEBIAN_NAME}#g" -e "s/DEBIAN_DATE/${DEBIAN_DATE}/g" -e "s#DEBIAN_TOOLS#${DEBIAN_TOOLS_HTML}#g" binary/README.html - sed -i -e "s#DEBIAN_NAME#${DEBIAN_NAME}#g" -e "s/DEBIAN_DATE/${DEBIAN_DATE}/g" -e "s#DEBIAN_TOOLS#${DEBIAN_TOOLS_TXT}#g" binary/README.txt + sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_HTML}|g" binary/README.html + sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_TXT}|g" binary/README.txt fi # Creating stage file |