diff options
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 |