changes to support Solaris default shell
Solaris default bourne shell does not recognize $(), and does not allow exporting a variable and assigning a value to it in one step.
This commit is contained in:
parent
51833fccfb
commit
aaccb367ec
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
# this is probably the *fastest* git-daemon update possible.
|
# this is probably the *fastest* git-daemon update possible.
|
||||||
|
|
||||||
export EO=git-daemon-export-ok
|
EO=git-daemon-export-ok
|
||||||
export RB=$(gitolite query-rc GL_REPO_BASE)
|
RB=`gitolite query-rc GL_REPO_BASE`
|
||||||
|
export EO RB
|
||||||
|
|
||||||
gitolite list-phy-repos | gitolite access % daemon R any |
|
gitolite list-phy-repos | gitolite access % daemon R any |
|
||||||
perl -lane '
|
perl -lane '
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# whatever you want and contribute it back, as long as it is upward
|
# whatever you want and contribute it back, as long as it is upward
|
||||||
# compatible.
|
# compatible.
|
||||||
|
|
||||||
plf=$(gitolite query-rc GITWEB_PROJECTS_LIST)
|
plf=`gitolite query-rc GITWEB_PROJECTS_LIST`
|
||||||
[ -z "$plf" ] && plf=$HOME/projects.list
|
[ -z "$plf" ] && plf=$HOME/projects.list
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue