Reputation
227
Top tag
Next privilege 250 Rep.
View close votes
Badges
5 12
Newest
 Yearling
Impact
~16k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Jul
23
accepted bash script locked at if statement when executed
Jul
23
comment bash script locked at if statement when executed
You mean "$OPENSHIFT_RUNTIME_DIR/bin/php-cgi --version"?
Jul
23
comment bash script locked at if statement when executed
@drewbenn I have just added --version and the issue is gone. Thanks. If you create the answer, I'll approve it.
Jul
23
comment bash script locked at if statement when executed
I have not written the script myself, so I am not sure what the original developer's intention was. i am not sure what =~ means. I can't find anything with Google. You might be right.
Jul
23
revised bash script locked at if statement when executed
added 131 characters in body
Jul
23
asked bash script locked at if statement when executed
Jul
22
accepted Add path to $PATH if not already in $PATH
Jul
22
awarded  Yearling
Jul
22
awarded  Commentator
Jul
22
comment Add path to $PATH if not already in $PATH
Can I write it like this? [[ ":$PATH:" != "${OPENSHIFT_HOMEDIR}/app-root/runtime/bin/" ]] && PATH="${OPENSHIFT_HOMEDIR}/app-root/runtime/bin/:${PATH}" ? Sorry, I am no expert with unix scripting...
Jul
22
asked Add path to $PATH if not already in $PATH
Jun
1
awarded  Popular Question
Apr
5
awarded  Popular Question
Mar
14
awarded  Notable Question
Dec
29
awarded  Notable Question
Jun
17
awarded  Caucus
Jun
17
awarded  Constituent
Mar
27
awarded  Popular Question
Jan
24
awarded  Notable Question
Jul
4
awarded  Popular Question