diff options
-rwxr-xr-x | kerl | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -22,10 +22,10 @@ ERLANG_DOWNLOAD_URL=http://www.erlang.org/download -KERL_BASE_DIR=$HOME/.kerl -KERL_CONFIG=$HOME/.kerlrc -KERL_DOWNLOAD_DIR=$KERL_BASE_DIR/archives -KERL_BUILD_DIR=$KERL_BASE_DIR/builds +KERL_BASE_DIR="$HOME/.kerl" +KERL_CONFIG="$HOME/.kerlrc" +KERL_DOWNLOAD_DIR="$KERL_BASE_DIR/archives" +KERL_BUILD_DIR="$KERL_BASE_DIR/builds" if [ -n "$KERL_CONFIGURE_OPTIONS" ]; then _KCO="$KERL_CONFIGURE_OPTIONS" fi @@ -40,7 +40,7 @@ KERL_DISABLE_AGNER= KERL_SASL_STARTUP= # ensure the base dir exsists -mkdir -p $KERL_BASE_DIR +mkdir -p "$KERL_BASE_DIR" # source the config file if available if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi @@ -425,9 +425,9 @@ list_print() if [ -f $KERL_BASE_DIR/otp_$1 ]; then if [ "`cat "$KERL_BASE_DIR/otp_$1" | wc -l`" != "0" ]; then if [ -z "$2" ]; then - cat $KERL_BASE_DIR/otp_$1 + cat "$KERL_BASE_DIR/otp_$1" else - echo `cat $KERL_BASE_DIR/otp_$1` + echo `cat "$KERL_BASE_DIR/otp_$1"` fi return 0 fi |