From ad5f3758c38f2364f03205dcb9fd48142d2d4499 Mon Sep 17 00:00:00 2001 From: grischka Date: Tue, 12 Jun 2012 15:45:13 +0200 Subject: [PATCH] Revert "Make ex1.c and ex4.c be executable on any systems" Using /usr/bin/env tcc doesn't work as it was reported. Revert to using the full path which fails if the user installs tcc in non-default location. Then again this is just an example. This reverts commit 27a428cd0fae475d7377e1dbe218c064ee217d85. --- examples/ex1.c | 2 +- examples/ex4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ex1.c b/examples/ex1.c index 87d6019..3d2a3e1 100755 --- a/examples/ex1.c +++ b/examples/ex1.c @@ -1,4 +1,4 @@ -#!/usr/bin/env tcc -run +#!/usr/local/bin/tcc -run #include int main() diff --git a/examples/ex4.c b/examples/ex4.c index 7611910..f92c0da 100755 --- a/examples/ex4.c +++ b/examples/ex4.c @@ -1,4 +1,4 @@ -#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11 +#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11 #include #include #include