Correcting syntax when using if constructs in links_files().
authorDaniel Baumann <daniel@debian.org>
Sun, 1 Apr 2012 20:10:13 +0000 (22:10 +0200)
committerDaniel Baumann <daniel@debian.org>
Sun, 1 Apr 2012 20:10:13 +0000 (22:10 +0200)
scripts/live-helpers

index 90b63e4..37ae7d4 100644 (file)
@@ -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