From: Daniel Baumann Date: Sun, 1 Apr 2012 20:10:13 +0000 (+0200) Subject: Correcting syntax when using if constructs in links_files(). X-Git-Tag: debian/3.0_a26-1~46 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=8dc6de07c581321bcf633b500cf54d83ee39cef1;p=live-boot-grml.git Correcting syntax when using if constructs in links_files(). --- diff --git a/scripts/live-helpers b/scripts/live-helpers index 90b63e4..37ae7d4 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -596,7 +596,7 @@ link_files () fi link_files "${src}" "${dest}" "${src_mask}" else - if [ -n "${src_mask}" ]; + if [ -n "${src_mask}" ] then src="$(echo ${src} | sed "s|^${src_mask}||")" fi