aboutsummaryrefslogtreecommitdiff
path: root/src/tools/ccsym
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ccsym')
-rwxr-xr-xsrc/tools/ccsym1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/ccsym b/src/tools/ccsym
index 5edb63d1a33..548d58b3592 100755
--- a/src/tools/ccsym
+++ b/src/tools/ccsym
@@ -1,5 +1,6 @@
#!/bin/sh
trap "/bin/rm -f /tmp/$$.*" 0 1 2 3 15
+cd /tmp
/bin/cat >$$.c <<EOF
extern int foo;
EOF