summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-07-17 16:32:27 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:12 -0600
commit1b2085297289f58806167a8c22946fadef658125 (patch)
tree63339913e7cad679fff07692ed2764a68e47899d
parent54ce9d875ee17fa27c826ed085f9f5357dd8e8cc (diff)
i dont even know anymore
-rw-r--r--Makefile.orig2
-rw-r--r--src/rvs-core/commit.f.sh3
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"