From f65a0644e57c6c09f6fe9a8cf496ec497d0d0a27 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 16 Jul 2009 23:20:31 -0400 Subject: Fix a thousand different things. It's amazing what can break when you haven't tried running it since refactoring There is a bug in the Makefile. I'm filing a real bug report. --- src/rvs-core/commit.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/rvs-core') diff --git a/src/rvs-core/commit.sh b/src/rvs-core/commit.sh index 2f120e0..189c8b9 100644 --- a/src/rvs-core/commit.sh +++ b/src/rvs-core/commit.sh @@ -23,13 +23,13 @@ fi if [ ! -e $file]; then error "file \`$file' does not exist"; # START file type list -elif [ -l $file ]; type='l'; # symbolic link -elif [ -b $file ]; type='b'; # block (buffered) special -elif [ -c $file ]; type='c'; # character (unbuffered) special -elif [ -d $file ]; type='d'; # directory -elif [ -p $file ]; type='p'; # named pipe (FIFO) -elif [ -f $file ]; type='f'; # regular file -elif [ -s $file ]; type='s'; # socket +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 +elif [ -p $file ]; then type='p'; # named pipe (FIFO) +elif [ -f $file ]; then type='f'; # regular file +elif [ -s $file ]; then type='s'; # socket #elif [ -D $file ]; type='D'; # door (Solaris only) # END file type list else error "could not identify file type of \`$file'" -- cgit v1.2.3-2-g168b