summaryrefslogtreecommitdiffstats
path: root/get-rommanager
diff options
context:
space:
mode:
authorEddie Ringle <eddie.ringle@gmail.com>2010-06-30 22:47:01 -0400
committerSteve Kondik <shade@chemlab.org>2010-07-05 18:41:50 -0400
commitf275d7eea7cd183495b299fdf69971ac628db3f6 (patch)
tree2f2d4e3d0d77e1d9e5011641f32305bca46af38d /get-rommanager
parent1a0883d6e9ce0fbcfeef68ba0f9af8914967b070 (diff)
downloadvendor_replicant-f275d7eea7cd183495b299fdf69971ac628db3f6.zip
vendor_replicant-f275d7eea7cd183495b299fdf69971ac628db3f6.tar.gz
vendor_replicant-f275d7eea7cd183495b299fdf69971ac628db3f6.tar.bz2
Run correctly no matter what directory the script is executed from
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
Diffstat (limited to 'get-rommanager')
-rwxr-xr-xget-rommanager5
1 files changed, 2 insertions, 3 deletions
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