diff options
-rw-r--r-- | Makefile.orig | 2 | ||||
-rw-r--r-- | 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'" |