From 7797debad9c55949482e111992c3cd10b221809f Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 3 Aug 2009 08:24:21 -0400 Subject: Do not rely on -L test; use -h instead. See `man dash` Signed-off-by: Loui Chang Signed-off-by: Aaron Griffin --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index 8ad214a..7546088 100644 --- a/functions +++ b/functions @@ -87,7 +87,7 @@ add_device () add_symlink () { local fil dest dir - if [ -L ${1} ]; then + if [ -h ${1} ]; then fil="${1##$BASEDIR}" dest="${2##$BASEDIR}" add_dir $(dirname "${dest}") -- cgit v1.2.3-24-g4f1b