summaryrefslogtreecommitdiff
path: root/contrib/get-abc
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-16 16:40:56 -0400
committerlianah <lianahady@gmail.com>2014-06-19 18:24:38 -0400
commit2e36a4492b61fbd18988356e95c701b96ff63d7d (patch)
tree64a07d67fbf50df36fbe59122e940560a90d223b /contrib/get-abc
parent967a6e7a7be80e76c9fcf76f6a5b1b90f38156b3 (diff)
Minor fixes to get-abc script and configure stuff.
Diffstat (limited to 'contrib/get-abc')
-rwxr-xr-xcontrib/get-abc8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/get-abc b/contrib/get-abc
index f5a397039..8e04ca655 100755
--- a/contrib/get-abc
+++ b/contrib/get-abc
@@ -27,12 +27,12 @@ function webget {
fi
}
-if [ -z "${MACHINE_TYPE}" ]; then
- # get first nibble from config.guess (x86_64, i686, ...)
- MACHINE_TYPE=`config/config.guess | sed 's,-.*,,'`
+if [ -e abc ]; then
+ echo 'error: file or directory "abc" exists; please move it out of the way.' >&2
+ exit 1
fi
-mkdir -p abc
+mkdir abc
cd abc
webget https://bitbucket.org/alanmi/abc/get/$commit.tar.gz abc-$commit.tar.gz
gunzip -f abc-$commit.tar.gz
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback