Skip to content

Instantly share code, notes, and snippets.

@Drewzar
Created May 14, 2014 20:21
Show Gist options
  • Select an option

  • Save Drewzar/66ba4aa4a92b228cbe50 to your computer and use it in GitHub Desktop.

Select an option

Save Drewzar/66ba4aa4a92b228cbe50 to your computer and use it in GitHub Desktop.

Revisions

  1. Drewzar created this gist May 14, 2014.
    5 changes: 5 additions & 0 deletions env.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    if [ -d "$BOXEN_HOME/repo/.git" ]; then
    export BOXEN_SETUP_VERSION=`GIT_DIR=$BOXEN_HOME/repo/.git git rev-parse --short HEAD`
    else
    echo "Boxen could not load properly!"
    fi