File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 253
253
cannot_find_file my_print_defaults $basedir /bin $basedir /extra
254
254
exit 1
255
255
fi
256
+ elif test -x " $( dirname $0 ) /../@bindir@/my_print_defaults"
257
+ then
258
+ print_defaults=" $( dirname $0 ) /../@bindir@/my_print_defaults"
256
259
else
257
260
print_defaults=" @bindir@/my_print_defaults"
258
261
fi
@@ -304,6 +307,14 @@ then
304
307
cannot_find_file fill_help_tables.sql @pkgdata_locations@
305
308
exit 1
306
309
fi
310
+ # relative from where the script was run for a relocatable install
311
+ elif test -x " $( dirname $0 ) /../@INSTALL_SBINDIR@/mysqld"
312
+ then
313
+ basedir=" $( dirname $0 ) /../"
314
+ bindir=" $basedir /@INSTALL_SBINDIR@"
315
+ resolveip=" $bindir /resolveip"
316
+ mysqld=" $basedir /@INSTALL_SBINDIR@/mysqld"
317
+ pkgdatadir=" $basedir /@INSTALL_MYSQLSHAREDIR@"
307
318
else
308
319
basedir=" @prefix@"
309
320
bindir=" @bindir@"
You can’t perform that action at this time.
0 commit comments