diff options
author | Daniel Baumann <daniel@debian.org> | 2008-01-15 08:25:29 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-01-15 08:25:29 +0100 |
commit | 948730f93a1a767fafb46c31845864538359e33c (patch) | |
tree | 6d9332db2197bb7b54e3e3b97f83474cd2430e56 /helpers/lh_chroot_hacks | |
parent | 3ea7ef688fb3018184444246d1786039e9e2f7e8 (diff) | |
download | vyos-live-build-948730f93a1a767fafb46c31845864538359e33c.tar.gz vyos-live-build-948730f93a1a767fafb46c31845864538359e33c.zip |
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 5d9a4ac49..1dd48502e 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -133,7 +133,7 @@ then do DIRECTORY="$(dirname ${FILE})" FILE="$(basename ${FILE})" - RELATIVE_PATH="$(echo ${DIRECTORY} | sed 's/[^\/]\+/../g; s/^\///g')" + RELATIVE_PATH="$(echo ${DIRECTORY} | sed 's|[^/]\+|..|g; s|^/||g')" # Touch files in case they don't yet exist mkdir -p chroot/${DIRECTORY} |