aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl3
1 files changed, 2 insertions, 1 deletions
diff --git a/kerl b/kerl
index 6aa9eda..c2599f4 100755
--- a/kerl
+++ b/kerl
@@ -27,6 +27,7 @@ KERL_BASE_DIR="$HOME/.kerl"
KERL_CONFIG="$HOME/.kerlrc"
KERL_DOWNLOAD_DIR="$KERL_BASE_DIR/archives"
KERL_BUILD_DIR="$KERL_BASE_DIR/builds"
+KERL_DEFAULT_INSTALL_DIR="$KERL_BASE_DIR/installs"
if [ -n "$KERL_CONFIGURE_OPTIONS" ]; then
_KCO="$KERL_CONFIGURE_OPTIONS"
fi
@@ -529,7 +530,7 @@ case "$1" in
if [ $# -eq 3 ]; then
do_install $2 "$3"
else
- do_install $2 .
+ do_install $2 "$KERL_DEFAULT_INSTALL_DIR/$2"
fi
;;
update)