projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
describe: show the same information about functions for 'x and #'x.
[sbcl.git]
/
contrib
/
asdf
/
pull-asdf.sh
diff --git
a/contrib/asdf/pull-asdf.sh
b/contrib/asdf/pull-asdf.sh
index
35f5669
..
9aed165
100644
(file)
--- a/
contrib/asdf/pull-asdf.sh
+++ b/
contrib/asdf/pull-asdf.sh
@@
-1,13
+1,26
@@
-#!/bin/sh
+#!/bin/sh -e
# Get the current ASDF release from the upstream repo.
if test -d asdf-upstream
then
# Get the current ASDF release from the upstream repo.
if test -d asdf-upstream
then
- cd asdf-upstream
+ if test -d ../../obj/asdf-upstream
+ then
+ rm -rf asdf-upstream
+ else
+ mv asdf-upstream ../../obj/asdf-upstream
+ fi
+fi
+
+if test -d ../../obj/asdf-upstream
+then
+ (cd ../../obj/asdf-upstream/
git checkout release
git reset --hard release
git checkout release
git reset --hard release
- git pull -a
+ git pull -a origin release)
else
else
- git clone --branch release git://common-lisp.net/projects/asdf/asdf.git asdf-upstream
+ (cd ../../obj/
+ git clone --branch release git://common-lisp.net/projects/asdf/asdf.git asdf-upstream)
fi
fi
+
+cd ../../obj/asdf-upstream && make