aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-07 12:14:08 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-07 12:14:08 +0200
commit571465d32bdbb3e17612983d75e799183b94c268 (patch)
tree28c12c47a1752e28adb70fee68feb5b69336a7eb /examples
parent4d6a4a26e08ef8581c70d29f578a42ab7d738c2d (diff)
downloadtinycc-571465d32bdbb3e17612983d75e799183b94c268.tar.gz
tinycc-571465d32bdbb3e17612983d75e799183b94c268.tar.bz2
Revert "Make examples' shebang use target tcc bindir path"
This reverts commit cb2138f8b098feb1b51a407343a4b99e25d5b506.
Diffstat (limited to 'examples')
-rwxr-xr-x[-rw-r--r--]examples/ex1.c (renamed from examples/ex1.c.template)2
-rwxr-xr-x[-rw-r--r--]examples/ex4.c (renamed from examples/ex4.c.template)2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/ex1.c.template b/examples/ex1.c
index 8744f58..28139f9 100644..100755
--- a/examples/ex1.c.template
+++ b/examples/ex1.c
@@ -1,4 +1,4 @@
-#! @BINDIR@/tcc -run
+#! /usr/local/bin/tcc -run
#include <tcclib.h>
int main()
diff --git a/examples/ex4.c.template b/examples/ex4.c
index 81aa00d..b33b033 100644..100755
--- a/examples/ex4.c.template
+++ b/examples/ex4.c
@@ -1,4 +1,4 @@
-#! @BINDIR@/tcc -run -L/usr/X11R6/lib -lX11
+#!./tcc -run -L/usr/X11R6/lib -lX11
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xlib.h>