Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Diff of /contrib/asdf/ [9c3a95] .. [25c176] Maximize Restore

  Switch to side-by-side view

--- a/contrib/asdf/
+++ b/contrib/asdf/
@@ -1,13 +1,26 @@
+#!/bin/sh -e
 # Get the current ASDF release from the upstream repo.
 if test -d asdf-upstream
-    cd asdf-upstream
+    if test -d ../../obj/asdf-upstream
+    then
+        rm -rf asdf-upstream
+    else
+        mv asdf-upstream ../../obj/asdf-upstream
+    fi
+if test -d ../../obj/asdf-upstream
+    (cd ../../obj/asdf-upstream/
     git checkout release
     git reset --hard release
-    git pull -a
+    git pull -a origin release)
-    git clone --branch release git:// asdf-upstream
+    (cd ../../obj/
+    git clone --branch release git:// asdf-upstream)
+cd ../../obj/asdf-upstream && make