diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-03-25 07:41:51 -0700 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-03-25 07:41:51 -0700 |
commit | 4c1aa8c1cdfaf8c920cf0d6eed273b1f3cb34765 (patch) | |
tree | a7930fbea0347464534b438fb1d1922ca106131b | |
parent | be70568e8851b2073c9277c1ce880c4955810cc9 (diff) |
librecommit usefull for everyone
-rwxr-xr-x | librecommit | 2 | ||||
-rw-r--r-- | libretools.conf | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/librecommit b/librecommit index fc47d74..ffdc678 100755 --- a/librecommit +++ b/librecommit @@ -32,6 +32,6 @@ pkg=$pkgbase if [ ${#pkg} -eq 0 ]; then pkg=$pkgname; fi -hg commit $@ -m "Commiting libre package $pkg-$pkgver-$pkgrel" -v || exit 1 +$COMMITCMD commit $@ -m "Commiting libre package $pkg-$pkgver-$pkgrel" -v || exit 1 exit 0 diff --git a/libretools.conf b/libretools.conf index b2ff53c..ab8fb07 100644 --- a/libretools.conf +++ b/libretools.conf @@ -36,6 +36,12 @@ LIBRESRCDIR=/home/parabolavnx/parabolagnulinux.org/repo/pkgbuilds ## ABSLibre ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git/ +## Commit Command +## Should be git or hg +## Uncomment only one of those +#COMMITCMD=git +#COMMITCMD=hg + # Recommended SSH Config # SSH host, it's better if you have it configured on ~/.ssh/config # with ControlMaster auto (and a shell opened somewhere else) @@ -56,7 +62,7 @@ ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git/ # Checks if vars aren't empty # for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR \ - LIBRESRCDIR BLACKLIST WORKDIR PATCHDIR REPOS ARCHES ABSLIBREGIT; do + LIBRESRCDIR BLACKLIST WORKDIR PATCHDIR REPOS ARCHES ABSLIBREGIT COMMITCMD; do [[ -z ${!VAR} ]] && { echo "Configure $VAR var in $0" @@ -64,4 +70,4 @@ for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR \ } done -source libremessages
\ No newline at end of file +source /usr/bin/libremessages
\ No newline at end of file |