aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorSalvador Fuentes Jr <[email protected]>2011-08-25 02:34:27 -0700
committerSalvador Fuentes Jr <[email protected]>2011-08-25 02:34:27 -0700
commitc382bc744dd93a5aa7df1ee47113233f52b78bab (patch)
treeba819e9aa8045e7c385133332b5c8a959ee38dbe /kerl
parent18bebcf2494d6fb8c5340d69be9e3d438be09cb1 (diff)
downloadkerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.tar.gz
kerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.tar.bz2
kerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.zip
add default install path
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)