]> Zhao Yanbai Git Server - minix.git/commitdiff
Add gnu directory for gmake
authorThomas Veerman <thomas@minix3.org>
Wed, 6 Jun 2012 12:02:46 +0000 (12:02 +0000)
committerThomas Veerman <thomas@minix3.org>
Mon, 18 Jun 2012 10:53:38 +0000 (10:53 +0000)
gnu/dist/fetch.sh [new file with mode: 0644]

diff --git a/gnu/dist/fetch.sh b/gnu/dist/fetch.sh
new file mode 100644 (file)
index 0000000..9d41b53
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Make sure we're in our directory (i.e., where this shell script is)
+echo $0
+cd `dirname $0`
+
+# Fetch sources if not available
+if [ ! -d gmake ];
+then
+       if [ ! -f make-3.80.tar.bz2 ];
+       then
+               wget  ftp://ftp.gnu.org/gnu/make/make-3.80.tar.bz2
+       fi
+
+       tar -xf make-3.80.tar.bz2 && \
+       mv make-3.80 gmake
+fi
+