some more bashisms fixed...
This commit is contained in:
parent
36dfb85e1b
commit
fd0e229054
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# sample pre-git hook to print pending hub requests
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# gitolite mirroring
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; }
|
||||
|
||||
# ----------
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue