aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-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..."