diff options
author | Salvador Fuentes Jr <[email protected]> | 2011-08-25 02:34:27 -0700 |
---|---|---|
committer | Salvador Fuentes Jr <[email protected]> | 2011-08-25 02:34:27 -0700 |
commit | c382bc744dd93a5aa7df1ee47113233f52b78bab (patch) | |
tree | ba819e9aa8045e7c385133332b5c8a959ee38dbe | |
parent | 18bebcf2494d6fb8c5340d69be9e3d438be09cb1 (diff) | |
download | kerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.tar.gz kerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.tar.bz2 kerl-c382bc744dd93a5aa7df1ee47113233f52b78bab.zip |
add default install path
-rwxr-xr-x | kerl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |