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 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue