Skip to content

Commit

Permalink
fix config.sh for non bash shell
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Dec 31, 2024
1 parent 7c91833 commit 5746272
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ config.sh: configure config.mk
echo "export CLI_NAME=$(CLI_NAME)" >> config.sh
echo "export SDK_NAME=$(SDK_NAME)" >> config.sh
echo "export FROM_PATH=$(FROM_PATH)" >> config.sh
echo -e "function debug()\n{" >> config.sh
echo -e '\tif [[ "$$DEBUG_MODE" == "1" ]] ; then echo "$$@" >&2 ; fi\n}' >> config.sh
echo "function debug() {" >> config.sh
echo ' if [[ "$$DEBUG_MODE" == "1" ]] ; then echo "$$@" >&2 ; fi' >> config.sh
echo '}' >> config.sh
echo export DEBUG_MODE=$(DEBUG_MODE) >> config.sh

call_list: osc-api.json bin/funclist
Expand Down

0 comments on commit 5746272

Please sign in to comment.