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. --- Makefile.orig | 2 +- src/rvs-core/commit.sh | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile.orig b/Makefile.orig index 67ac85f..00998fc 100644 --- a/Makefile.orig +++ b/Makefile.orig @@ -68,7 +68,7 @@ out/% : $(sourcedir)/src/%.sh $(PRE) $(prefix)/$(bindir)/% : out/% $(INSTALL) -m 755 -o root -g root -T $< $@ -$(libdir)/% : out/rvs-core/% +$(libdir)/% : out/rvs-core/% $(libdir) $(INSTALL) -m 755 -o root -g root -d $(dir $@) $(INSTALL) -m 755 -o root -g root -T $< $@ 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