diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-22 06:32:59 +0000 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-23 16:51:19 -0700 |
| commit | 66ed83a51f7752464befbb48c08759293da32b4c (patch) | |
| tree | e54da8d69daa699eb671d217e7bc6130c09bae5f /scripts/commit.rc | |
| parent | f80319a9b838e3e272409e507d8a0b870cd98535 (diff) | |
Don't use head -c -1; it's not portable
Diffstat (limited to 'scripts/commit.rc')
| -rw-r--r-- | scripts/commit.rc | 2 |
1 files changed, 1 insertions, 1 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 |
