Skip to content

Instantly share code, notes, and snippets.

@haoch
Created January 8, 2014 06:38
Show Gist options
  • Save haoch/8312710 to your computer and use it in GitHub Desktop.
Save haoch/8312710 to your computer and use it in GitHub Desktop.
Play framework adapter for Linux/Unix
#!/bin/env bash
if [ $@ == 0 ];
echo "Error - Usage: $0 [PLAY_FRAMEWORK_HOME]"
exit -1
fi
PLAY_FRAMEWORK_HOME=$1
echo -e "\n# Adopt to Linux/Unix Environment \numask 002">> $PLAY_FRAMEWORK_HOME/play
chmod 777 /opt/pkg/play/play-2.2.1/framework/sbt/boot/sbt.boot.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment