Commits

Christophe Combelles committed 896094d

fixed sugar startup script

  • Participants
  • Parent commits 4dc5aab

Comments (0)

Files changed (1)

File scripts/demo_SugarCRM.sh

 
 # create a startup script
 cat > start.sh << EOF
-exec /usr/sbin/mysqld --no-defaults --socket=$PWD/mysql/mysqld.sock --datadir=$PWD/mysql/ --log-error=$PWD/mysql/mysql-error.log --port=$db_port
+DIR=`pwd`
+exec /usr/sbin/mysqld --no-defaults --socket=$DIR/mysql/mysqld.sock --datadir=$DIR/mysql/ --log-error=$DIR/mysql/mysql-error.log --port=$db_port
 EOF
 }