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_debian-installer | |
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_debian-installer')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 37db5a6..050f48f 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -123,11 +123,11 @@ Install_file() { case "${SOURCE}" in lib?*) - LETTER="$(echo ${SOURCE} | sed 's/\(....\).*/\1/')" + LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')" ;; *) - LETTER="$(echo ${SOURCE} | sed 's/\(.\).*/\1/')" + LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')" ;; esac @@ -335,11 +335,11 @@ then case "${SOURCE}" in lib?*) - LETTER="$(echo ${SOURCE} | sed 's/\(....\).*/\1/')" + LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')" ;; *) - LETTER="$(echo ${SOURCE} | sed 's/\(.\).*/\1/')" + LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')" ;; esac |