Skip to content

Instantly share code, notes, and snippets.

@jlandure
Created February 9, 2018 16:05
Show Gist options
  • Select an option

  • Save jlandure/1c27992ad5c6e139e5625bb958157360 to your computer and use it in GitHub Desktop.

Select an option

Save jlandure/1c27992ad5c6e139e5625bb958157360 to your computer and use it in GitHub Desktop.
Shell replacement
#!/bin/sh
#export DEVSHELL_PROJECT_ID="demoing"
DEVSHELL_PROJECT_ID=${DEVSHELL_PROJECT_ID:-'ices-demo'} # If variable not set, set it to default.
echo "begin"
echo $DEVSHELL_PROJECT_ID
export DEVSHELL_PROJECT_ID=$DEVSHELL_PROJECT_ID
echo "end"
env | grep DEVSHELL_PROJECT_ID
#export VERSION=$(cat package.json | grep version | cut -d'"' -f4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment