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

@ -4,7 +4,7 @@
# whatever you want and contribute it back, as long as it is upward
# compatible.
plf=$(gitolite query-rc GITWEB_PROJECTS_LIST)
plf=`gitolite query-rc GITWEB_PROJECTS_LIST`
[ -z "$plf" ] && plf=$HOME/projects.list
(