summaryrefslogtreecommitdiff
path: root/librecommit
blob: a1c1d01b75ca82abc238e33a6ad8a0e751d7d45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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