aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorEvax Software <[email protected]>2011-06-01 08:14:03 +0200
committerEvax Software <[email protected]>2011-06-01 08:14:03 +0200
commitf571a09f5266fa70ccb74164154903aaebb0d4c2 (patch)
tree04715824d2bfa3b237f2663fc4364aa85b1abd35 /kerl
parent69bf09d1885d489081b27a10811fa6e877ed8c26 (diff)
downloadkerl-f571a09f5266fa70ccb74164154903aaebb0d4c2.tar.gz
kerl-f571a09f5266fa70ccb74164154903aaebb0d4c2.tar.bz2
kerl-f571a09f5266fa70ccb74164154903aaebb0d4c2.zip
Add missing quotes
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl14
1 files changed, 7 insertions, 7 deletions
diff --git a/kerl b/kerl
index 402f48f..b020e3c 100755
--- a/kerl
+++ b/kerl
@@ -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