1.0.42.13: update ASDF to 2.004
[sbcl.git] / contrib / asdf / pull-asdf.sh
diff --git a/contrib/asdf/pull-asdf.sh b/contrib/asdf/pull-asdf.sh
new file mode 100644 (file)
index 0000000..35f5669
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Get the current ASDF release from the upstream repo.
+
+if test -d asdf-upstream
+then
+    cd asdf-upstream
+    git checkout release
+    git reset --hard release
+    git pull -a
+else
+    git clone --branch release git://common-lisp.net/projects/asdf/asdf.git asdf-upstream
+fi