diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:10:13 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:10:13 +0200 |
commit | 8dc6de07c581321bcf633b500cf54d83ee39cef1 (patch) | |
tree | ad8be8752ff4a057fe7a2aa2e97bc0893f32685f | |
parent | 36b3b55495c069c5e06f8106314fa0a841891651 (diff) | |
download | live-boot-8dc6de07c581321bcf633b500cf54d83ee39cef1.tar.gz live-boot-8dc6de07c581321bcf633b500cf54d83ee39cef1.zip |
Correcting syntax when using if constructs in links_files().
-rw-r--r-- | scripts/live-helpers | 2 |
1 files changed, 1 insertions, 1 deletions
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 |