From 8dc6de07c581321bcf633b500cf54d83ee39cef1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 Apr 2012 22:10:13 +0200 Subject: [PATCH] Correcting syntax when using if constructs in links_files(). --- scripts/live-helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4