projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43175d3
)
Don't pass script args to binary.
author
Carl Hetherington
<cth@carlh.net>
Tue, 31 Jul 2012 10:40:59 +0000
(11:40 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 31 Jul 2012 10:40:59 +0000
(11:40 +0100)
run/dcpdiff
patch
|
blob
|
history
diff --git
a/run/dcpdiff
b/run/dcpdiff
index 17999383a66c0dbec9be542de8bd3c92f4c1cb7d..ab21937c9ca30eada41012e8bd87bb981e017155 100755
(executable)
--- a/
run/dcpdiff
+++ b/
run/dcpdiff
@@
-2,8
+2,10
@@
export LD_LIBRARY_PATH=build/src
if [ "$1" == "--debug" ]; then
+ shift
gdb --args build/tools/dcpdiff "$@"
elif [ "$1" == "--valgrind" ]; then
+ shift
valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpdiff "$@"
else
build/tools/dcpdiff "$@"