|
|
@ -14,8 +14,6 @@
|
|
|
|
# DF_GDB_OPTS: Options to pass to gdb, if it's being run
|
|
|
|
# DF_GDB_OPTS: Options to pass to gdb, if it's being run
|
|
|
|
# DF_VALGRIND_OPTS: Options to pass to valgrind, if it's being run
|
|
|
|
# DF_VALGRIND_OPTS: Options to pass to valgrind, if it's being run
|
|
|
|
# DF_HELGRIND_OPTS: Options to pass to helgrind, if it's being run
|
|
|
|
# DF_HELGRIND_OPTS: Options to pass to helgrind, if it's being run
|
|
|
|
# DF_RESET_OPTS: Options to pass the reset command at the end of
|
|
|
|
|
|
|
|
# this script
|
|
|
|
|
|
|
|
# DF_POST_CMD: Shell command to be run at very end of script
|
|
|
|
# DF_POST_CMD: Shell command to be run at very end of script
|
|
|
|
|
|
|
|
|
|
|
|
DF_DIR=$(dirname "$0")
|
|
|
|
DF_DIR=$(dirname "$0")
|
|
|
@ -68,7 +66,7 @@ case "$1" in
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
# Reset terminal to sane state in case of a crash
|
|
|
|
# Reset terminal to sane state in case of a crash
|
|
|
|
# reset $DF_RESET_OPTS
|
|
|
|
printf '\033[3g\033[0m\033[?25h\033(B\017\033%%G'
|
|
|
|
|
|
|
|
|
|
|
|
if [ -n "$DF_POST_CMD" ]; then
|
|
|
|
if [ -n "$DF_POST_CMD" ]; then
|
|
|
|
eval $DF_POST_CMD
|
|
|
|
eval $DF_POST_CMD
|
|
|
|