summaryrefslogtreecommitdiff
path: root/src
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 /src
parent54ce9d875ee17fa27c826ed085f9f5357dd8e8cc (diff)
i dont even know anymore
Diffstat (limited to 'src')
-rw-r--r--src/rvs-core/commit.f.sh3
1 files changed, 2 insertions, 1 deletions
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"