projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f468c9f
)
Use test -f because Solaris sh does not support -e.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 30 Jun 2006 00:51:42 +0000
(
00:51
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 30 Jun 2006 00:51:42 +0000
(
00:51
+0000)
(Idiots can't read POSIX spec I guess.)
src/utils/pintos-gdb
patch
|
blob
|
history
diff --git
a/src/utils/pintos-gdb
b/src/utils/pintos-gdb
index c986b40a084cca196ffffe5080a9caf4b1603464..4ef38d3f177f1c9b694d422c14efdd2df98809d9 100755
(executable)
--- a/
src/utils/pintos-gdb
+++ b/
src/utils/pintos-gdb
@@
-11,7
+11,7
@@
else
fi
# Run GDB.
-if test -
e
"$GDBMACROS"; then
+if test -
f
"$GDBMACROS"; then
exec $GDB -x "$GDBMACROS" "$@"
else
echo "*** $GDBMACROS does not exist ***"