aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl6
1 files changed, 5 insertions, 1 deletions
diff --git a/kerl b/kerl
index 56138da..fe8f44a 100755
--- a/kerl
+++ b/kerl
@@ -542,7 +542,11 @@ case "$1" in
if [ $# -eq 3 ]; then
do_install $2 "$3"
else
- do_install $2 .
+ if [ -z "$KERL_DEFAULT_INSTALL_DIR" ]; then
+ do_install $2 .
+ else
+ do_install $2 "$KERL_DEFAULT_INSTALL_DIR/$2"
+ fi
fi
;;
update)