Permalink
Browse files

Fix a few bugs relating to stopping the server.

  • Loading branch information...
1 parent 14a9488 commit 410142598e6ff874a0ad2fa85092bf9e2c4ecb6e @steveWang steveWang committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.sh
View
@@ -89,7 +89,7 @@ echo "PAR=\$(cd \${0%/*} && pwd)" >> $TMP_DIR/server
echo "OLD_LD_LIBRARY_PATH=\$LD_LIBRARY_PATH" >> $TMP_DIR/server
if [[ $GOT_RABBIT != "" ]]; then
- echo "if [ '\$1'='stop' ]; then $PAR/rabbitmq/bin/stop_server; else" >> $TMP_DIR/server
+ echo "if [ '\$1' = 'stop' ]; then \$PAR/rabbitmq/bin/stop_server; else" >> $TMP_DIR/server
echo "cd \$PAR/rabbitmq; ./sbin/rabbitmq-server; fi" >> $TMP_DIR/server
else
echo -e "\n To use Bridge, first run the rabbitmq-server:"

0 comments on commit 4101425

Please sign in to comment.