aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2016-05-02 12:15:29 -0500
committerMark Allen <[email protected]>2016-05-02 12:15:29 -0500
commit32ca18f02a4ca9016f16e8502767b318dd629789 (patch)
tree1292de01b8a4b1623b990700738b0614144148f7
parent9f0c9a5fae4150d55d9cfe7366ac08c331379596 (diff)
downloadkerl-32ca18f02a4ca9016f16e8502767b318dd629789.tar.gz
kerl-32ca18f02a4ca9016f16e8502767b318dd629789.tar.bz2
kerl-32ca18f02a4ca9016f16e8502767b318dd629789.zip
Make tarball default
-rwxr-xr-xkerl6
1 files changed, 3 insertions, 3 deletions
diff --git a/kerl b/kerl
index 440a27c..c5366af 100755
--- a/kerl
+++ b/kerl
@@ -113,10 +113,10 @@ else
fi
if [ -z "$KERL_BUILD_BACKEND" ]; then
+ KERL_BUILD_BACKEND="tarball"
+else
KERL_BUILD_BACKEND="git"
KERL_USE_AUTOCONF=1
-else
- KERL_BUILD_BACKEND="tarball"
fi
KERL_SYSTEM=$(uname -s)
@@ -603,7 +603,7 @@ ACTIVATE
ln -s "$absdir/lib/erlang/doc" "$absdir/html"
fi
else
- if [ "$KERL_BUILD_BACKEND" == "tarball" ]; then
+ if [ "$KERL_BUILD_BACKEND" = "tarball" ]; then
if [ "$rel" != "git" ]; then
if [ -n "$KERL_INSTALL_MANPAGES" ]; then
echo "Fetching and installing manpages..."