summaryrefslogtreecommitdiff
path: root/src/rvs-core/commit.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-07-17 00:05:43 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:11 -0600
commit582f21486665f202646954f3c37aa9a3d60f61b0 (patch)
tree08a098f6e7feac57b141e2dc47fd64ac610832a3 /src/rvs-core/commit.sh
parentf65a0644e57c6c09f6fe9a8cf496ec497d0d0a27 (diff)
doing a lot better, still not functional
Diffstat (limited to 'src/rvs-core/commit.sh')
-rw-r--r--src/rvs-core/commit.sh4
1 files changed, 2 insertions, 2 deletions
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