Created
February 13, 2013 16:41
-
-
Save Profpatsch/4945937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- playdarctl 2013-02-13 17:06:05.958736728 +0100 | |
+++ playdarctl 2013-02-13 17:09:07.982824648 +0100 | |
@@ -35,7 +35,12 @@ | |
ERL_OPTS="+K true +P 1000000" | |
EBIN_DIR="ebin" | |
PLAYDAR_OPTS="-s playdar -sname ${ENAME}@localhost -pa ${EBIN_DIR} -boot start_sasl" | |
-PLAYDAR_LOG_DIR=. | |
+if [[ -d ~/.playdar/ ]]; then | |
+ PLAYDAR_LOG_DIR=~/.playdar/ | |
+else | |
+ mkdir ~/.playdar/ | |
+ PLAYDAR_LOG_DIR=~/.playdar/ | |
+fi | |
ctl () | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment