aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvax Software <[email protected]>2011-04-08 11:08:22 +0200
committerEvax Software <[email protected]>2011-04-08 11:08:22 +0200
commit6fae12bd978f8b577cdbad92aab862af4299ae86 (patch)
treec0347ae4495e07cf2695849c2361781aac803388
parent1d2fd523df44102a1b1ceb2310d921982b6d11c3 (diff)
downloadkerl-6fae12bd978f8b577cdbad92aab862af4299ae86.tar.gz
kerl-6fae12bd978f8b577cdbad92aab862af4299ae86.tar.bz2
kerl-6fae12bd978f8b577cdbad92aab862af4299ae86.zip
Allow using KERL_SASL_STARTUP prepending it to the command line
-rw-r--r--README.md2
-rwxr-xr-xkerl6
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3024d85..5d0705d 100644
--- a/README.md
+++ b/README.md
@@ -246,7 +246,7 @@ You can auto-install agner packages listing them in the KERL_AGNER_AUTOINSTALL v
#### SASL startup
-You can have SASL started automatically setting KERL_SASL_STARTUP=yes in your $HOME/.kerlrc file
+You can have SASL started automatically setting KERL_SASL_STARTUP=yes in your $HOME/.kerlrc file or prepending it to the command line
update
------
diff --git a/kerl b/kerl
index e50dcc5..4b2d109 100755
--- a/kerl
+++ b/kerl
@@ -29,6 +29,9 @@ KERL_BUILD_DIR=$KERL_BASE_DIR/builds
if [ -n "$KERL_CONFIGURE_OPTIONS" ]; then
_KCO="$KERL_CONFIGURE_OPTIONS"
fi
+if [ -n "$KERL_SASL_STARTUP" ]; then
+ _KSS="$KERL_SASL_STARTUP"
+fi
KERL_CONFIGURE_OPTIONS=
KERL_DISABLE_AGNER=
KERL_SASL_STARTUP=
@@ -42,6 +45,9 @@ if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi
if [ -n "$_KCO" ]; then
KERL_CONFIGURE_OPTIONS="$_KCO"
fi
+if [ -n "$_KSS" ]; then
+ KERL_SASL_STARTUP="$_KSS"
+fi
if [ -z "$KERL_SASL_STARTUP" ]; then
INSTALL_OPT=-minimal