shithub: pokered

Download patch

ref: 283e4c1ceeef80ea0c291bfb67d478341fe3a6ca
parent: 65245542c7e6f8b1c0bdb46354285dbde32c67ab
author: yenatch <yenatch@gmail.com>
date: Wed Jan 22 06:36:07 EST 2014

Don't use sudo in init.sh

Besides being bad practice, permissions are handled differently cross-platform (cygwin).

--- a/INSTALL.md
+++ b/INSTALL.md
@@ -10,7 +10,7 @@
 	git clone git://github.com/iimarckus/pokered.git
 	cd pokered
 
-	./init.sh
+	sudo ./init.sh
 
 
 Now **pokered.gbc** can be built from source.
--- a/init.sh
+++ b/init.sh
@@ -4,8 +4,8 @@
 git clone git://github.com/bentley/rgbds.git && \
 cd rgbds && \
 make && \
-sudo mkdir -p /usr/local/man/man{1,7} && \
-sudo make install && \
+mkdir -p /usr/local/man/man{1,7} && \
+make install && \
 cd .. && \
 rm -rf rgbds
 
@@ -12,6 +12,6 @@
 # set up the submodule (extras/)
 git submodule init && \
 git submodule update && \
-sudo easy_install pip && \
-sudo pip install -r extras/requirements.txt
+easy_install pip && \
+pip install -r extras/requirements.txt