Run correctly no matter what directory the script is executed from
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
diff --git a/get-rommanager b/get-rommanager
index ef429a5..38c5909 100755
--- a/get-rommanager
+++ b/get-rommanager
@@ -1,3 +1,2 @@
-mkdir -p proprietary
-cd proprietary
-curl -O http://www.droidaftermarket.com/koush/recoveries/RomManager.apk
+mkdir -p `dirname $0`/proprietary
+curl -o `dirname $0`/proprietary/RomManager.apk -O http://www.droidaftermarket.com/koush/recoveries/RomManager.apk