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:
Thomas Hager 2012-04-18 09:09:24 +02:00 committed by Sitaram Chamarty
parent 51833fccfb
commit aaccb367ec
2 changed files with 4 additions and 3 deletions

View file

@ -2,8 +2,9 @@
# this is probably the *fastest* git-daemon update possible.
export EO=git-daemon-export-ok
export RB=$(gitolite query-rc GL_REPO_BASE)
EO=git-daemon-export-ok
RB=`gitolite query-rc GL_REPO_BASE`
export EO RB
gitolite list-phy-repos | gitolite access % daemon R any |
perl -lane '