summaryrefslogtreecommitdiff
path: root/getDecuda
diff options
context:
space:
mode:
Diffstat (limited to 'getDecuda')
-rwxr-xr-xgetDecuda/getDecuda.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/getDecuda/getDecuda.sh b/getDecuda/getDecuda.sh
index a4a7db9..381724b 100755
--- a/getDecuda/getDecuda.sh
+++ b/getDecuda/getDecuda.sh
@@ -1,10 +1,13 @@
# This script downloads the latest version of decuda from http://github.com/laanwj/decuda, untars it and patches it.
-# Currently hardcoded to work with only decuda 0.4.2.
+# Only works with decuda 0.4.2.
# decuda.patch must be in the same folder as getDecuda.sh
-wget -q http://github.com/laanwj/decuda/tarball/master
+cd ./getDecuda
+wget --no-check-certificate http://github.com/laanwj/decuda/tarball/master
tar -xf ./laanwj-decuda-c30bd17.tar.gz
-mv laanwj-decuda-c30bd17 ../decuda
-patch -s -d ../decuda < ./decuda.patch
+mv laanwj-decuda-c30bd17 decuda
+patch -d ./decuda < ./decuda.patch
rm ./laanwj-decuda-c30bd17.tar.gz
+mv decuda ../decuda
+cd ..