diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-11-30 23:43:04 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-12-07 23:48:24 -0300 |
commit | 85d2ddd7629a7124ee7b34af6a54ef793a844d8e (patch) | |
tree | dde2fa1c22ae3beb26efbdd5675a130a40b3673c /archiso/mkarchiso | |
parent | 06a8c66eaec5d1bace2ddefc2220c172d81eb2ff (diff) | |
download | archiso32-85d2ddd7629a7124ee7b34af6a54ef793a844d8e.tar.xz |
Unify scheme of sed replacements.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index e0cf473..203d7f0 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -215,7 +215,7 @@ _imgcommon () { fi fi - if ! sed "s|archisolabel=[^ ]*|archisolabel=${LABEL}|g; + if ! sed "s|%ARCHISO_LABEL%|${LABEL}|g; s|%INSTALL_DIR%|${INSTALL_DIR}|g; s|%ARCH%|${ARCH}|g" -i ${work_dir}/iso/syslinux/syslinux.cfg; then echo "Error: ${work_dir}/iso/syslinux/syslinux.cfg, doesn't exist, aborting." |