From 1b2085297289f58806167a8c22946fadef658125 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Jul 2009 16:32:27 -0400 Subject: i dont even know anymore --- Makefile.orig | 2 +- src/rvs-core/commit.f.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.orig b/Makefile.orig index 00998fc..67ac85f 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) +$(libdir)/% : out/rvs-core/% $(INSTALL) -m 755 -o root -g root -d $(dir $@) $(INSTALL) -m 755 -o root -g root -T $< $@ diff --git a/src/rvs-core/commit.f.sh b/src/rvs-core/commit.f.sh index cd8070b..ac645cd 100644 --- a/src/rvs-core/commit.f.sh +++ b/src/rvs-core/commit.f.sh @@ -19,7 +19,8 @@ file="$1" hash=`getid $file` if [ ! -f "$repo/files/$hash" ]; then - cp "$file" "$repo/files/$hash" + #cp "$file" "$repo/files/$hash" + install -m 644 -o $USER -g $USER -T "$file" "$repo/files/$hash" fi echo "$hash" -- cgit v1.2.3-2-g168b