some more bashisms fixed...

This commit is contained in:
Sitaram Chamarty 2011-10-16 17:32:30 +05:30
parent 36dfb85e1b
commit fd0e229054
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# sample pre-git hook to print pending hub requests

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# gitolite mirroring

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# driver script to run multiple update "hooklets". Each "hooklet" performs a
# specific (possibly site-local) check, and they *all* have to succeed for the

View file

@ -9,7 +9,7 @@
# if list of slaves not given, get it from '...slaves' config
die() { echo gl-mirror-push${hn:+ on $hn}: "$@" >&2; exit 1; }
get_rc_val() { ${0%/*}/gl-query-rc $1; }
get_rc_val() { `dirname $0`/gl-query-rc $1; }
# ----------

View file

@ -21,7 +21,7 @@ GL_PACKAGE_CONF=/tmp/share/gitolite/conf
die() { echo "$@"; exit 1; } >&2
get_rc_val() {
${0%/*}/gl-query-rc $1
`dirname $0`/gl-query-rc $1
}
TEMPDIR=`mktemp -d -t tmp.XXXXXXXXXX`