From 582f21486665f202646954f3c37aa9a3d60f61b0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Jul 2009 00:05:43 -0400 Subject: doing a lot better, still not functional --- src/rvs-core/commit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rvs-core/commit.sh') diff --git a/src/rvs-core/commit.sh b/src/rvs-core/commit.sh index 189c8b9..7fe1221 100644 --- a/src/rvs-core/commit.sh +++ b/src/rvs-core/commit.sh @@ -21,9 +21,9 @@ else file='.' fi -if [ ! -e $file]; then error "file \`$file' does not exist"; +if [ ! -e $file ]; then error "file \`$file' does not exist"; # START file type list -elif [ -l $file ]; then type='l'; # symbolic link +elif [ -L $file ]; then type='l'; # symbolic link elif [ -b $file ]; then type='b'; # block (buffered) special elif [ -c $file ]; then type='c'; # character (unbuffered) special elif [ -d $file ]; then type='d'; # directory -- cgit v1.2.3-2-g168b