Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
#!/bin/sh
|
2012-06-12 04:59:35 +02:00
|
|
|
BINDIR="$(dirname "$0")"
|
|
|
|
BIN="$BINDIR/aegisub-3.0"
|
|
|
|
LIBDIR="$BINDIR/../libaegisub"
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
|
2012-06-12 04:59:35 +02:00
|
|
|
if ! test -x "${BIN}"; then
|
|
|
|
echo "${BIN} does not exist or is not executable.";
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
"gdb")
|
2012-06-12 04:59:35 +02:00
|
|
|
GDB="gdb"
|
|
|
|
;;
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
esac
|
|
|
|
|
2012-06-12 04:59:35 +02:00
|
|
|
LD_LIBRARY_PATH="$LIBDIR" exec $GDB "./$BIN"
|