File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1515 postBuild = ''
1616
1717 wrapProgram $out/bin/mysqld \
18- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
18+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
1919
2020 wrapProgram $out/bin/mariadbd \
21- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
21+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
2222
2323 wrapProgram $out/bin/mysqld_safe \
24- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
24+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
2525
2626 if [-f $out/bin/mariadbd-safe]; then
2727 wrapProgram $out/bin/mariadbd_safe \
28- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
28+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
2929 fi
3030
3131 wrapProgram "$out/bin/mysql_install_db" \
32- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --basedir='' $MYSQL_BASEDIR';
32+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --basedir='' $MYSQL_BASEDIR';
3333
3434 if [-f $out/bin/mariadb-install-db]; then
3535 wrapProgram "$out/bin/mariadb_install_db" \
36- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --basedir='' $MYSQL_BASEDIR';
36+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --basedir='' $MYSQL_BASEDIR';
3737 fi
3838 '' ;
3939 } ;
Original file line number Diff line number Diff line change 1515 postBuild = ''
1616
1717 wrapProgram $out/bin/mysqld \
18- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
18+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
1919
2020 wrapProgram $out/bin/mysqld_safe \
21- --add-flags '--datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
21+ --add-flags '--basedir=$out -- datadir='' $MYSQL_DATADIR --pid-file='' $MYSQL_PID_FILE --socket='' $MYSQL_UNIX_PORT';
2222 '' ;
2323 } ;
2424 in {
You can’t perform that action at this time.
0 commit comments