]> granicus.if.org Git - ejabberd/commitdiff
Added to ejabberdctl an experimental variable EJABBERD_BYPASS_WARNINGS
authorBadlop <badlop@process-one.net>
Fri, 11 Dec 2009 19:42:59 +0000 (19:42 +0000)
committerBadlop <badlop@process-one.net>
Fri, 11 Dec 2009 19:42:59 +0000 (19:42 +0000)
SVN Revision: 2804

doc/Makefile
src/ejabberdctl.template

index e0dec3789d966afb4dd8ac69124e32e27a39d51a..55d34ae5d479306874ac130738d7403de2dd9a48 100644 (file)
@@ -16,7 +16,7 @@ release:
        @echo "* Do not forget to update the version number in src/ejabberd.app!"
        @echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
        @echo "Press any key to continue"
-       @read foo
+       ##@read foo
        @echo "% ejabberd version (automatically generated)." > version.tex
        @echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../src/ejabberd.app`"}" >> version.tex
        @echo -n "% Contributed modules (automatically generated)."  > contributed_modules.tex
index 5ebfb5f6fe328109570bb4973158e5fbf31988e6..755c02bf32713a052636f38066ffc4baa477626e 100644 (file)
@@ -159,8 +159,12 @@ debug ()
     echo "  control+c, control+c"
     echo ""
     echo "--------------------------------------------------------------------"
+    echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
+    echo "  EJABBERD_BYPASS_WARNINGS=true"
     echo "Press any key to continue"
-    read foo
+    if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
+       read foo
+    fi
     echo ""
     $EXEC_CMD "$ERL \
       $NAME debug-${ERLANG_NODE} \
@@ -184,8 +188,12 @@ live ()
     echo "  q().  and press the Enter key"
     echo ""
     echo "--------------------------------------------------------------------"
+    echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
+    echo "  EJABBERD_BYPASS_WARNINGS=true"
     echo "Press any key to continue"
-    read foo
+    if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
+       read foo
+    fi
     echo ""
     $EXEC_CMD "$ERL \
       $NAME $ERLANG_NODE \