diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-16 17:45:56 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-16 17:45:56 -0500 |
commit | 35f89bd78ab15b4345037f0649f8598aa92ddca3 (patch) | |
tree | 8fe27b3afdea226aa9dcbdfa25a0f7e9d9b01631 /librecommit | |
parent | 6273f6806f209677cee954f6a211167b62d1a7ca (diff) | |
parent | 3a3777106ced607cf7c8bfdf7ddaddd4cffad5c5 (diff) |
Merge branch 'master' of parabolagnulinux.org:~/projects/libretools
Diffstat (limited to 'librecommit')
-rwxr-xr-x | librecommit | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/librecommit b/librecommit new file mode 100755 index 0000000..a1c1d01 --- /dev/null +++ b/librecommit @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ ! -e PKGBUILD ]; then exit 1; fi + +source PKGBUILD + +pkg=$pkgbase + +if [ ${#pkg} -eq 0 ]; then pkg=$pkgname; fi + +hg commit $@ -m "Commiting libre package $pkg-$pkgver-$pkgrel" -v || exit 1 + +exit 0 |