summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/commit.rc2
-rw-r--r--scripts/tree.rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/commit.rc b/scripts/commit.rc
index 21789d72..feb0f4ac 100644
--- a/scripts/commit.rc
+++ b/scripts/commit.rc
@@ -13,6 +13,6 @@ cd $repo
if([ -f refs/heads/$branch ]) parent=(-p $branch)
if not parent=()
-ifs=() { message='oasis built by '`{id -un | head -c -1} }
+message='oasis built by '`{id -un}
commit=`{echo $message | git commit-tree $tag $parent} ; checkstatus
git update-ref refs/heads/$branch $commit
diff --git a/scripts/tree.rc b/scripts/tree.rc
index 12bf9c32..d42f5bd6 100644
--- a/scripts/tree.rc
+++ b/scripts/tree.rc
@@ -8,7 +8,7 @@ index=$3
fn checkstatus {}
-ifs=() { oldcwd=`{pwd | head -c -1} }
+oldcwd=`{pwd}
cd $repo
git read-tree --empty