rev 285 - trunk/pr

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-04-05 10:49:46 -0400 (Mon, 05 Apr 2004)
New Revision: 285

Modified:
   trunk/pr/bugreport.pr
   trunk/pr/closure.pr
   trunk/pr/file_test.pr
   trunk/pr/hex.pr
   trunk/pr/init.pr
   trunk/pr/meow.pr
   trunk/pr/oops.pr
   trunk/pr/re_test.pr
   trunk/pr/scope.pr
   trunk/pr/speed.pr
   trunk/pr/stdio_test.pr
   trunk/pr/super.pr
   trunk/pr/test.pr
Log:
Update scripts to use /usr/bin/env to accomodate alternate install
locations for prothon binary.


Modified: trunk/pr/bugreport.pr
===================================================================
--- trunk/pr/bugreport.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/bugreport.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 def findall(r,s):
 	result=[]

Modified: trunk/pr/closure.pr
===================================================================
--- trunk/pr/closure.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/closure.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 
 def f1():

Modified: trunk/pr/file_test.pr
===================================================================
--- trunk/pr/file_test.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/file_test.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 import File
 

Modified: trunk/pr/hex.pr
===================================================================
--- trunk/pr/hex.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/hex.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 def hex(n):
     s = ""

Modified: trunk/pr/init.pr
===================================================================
--- trunk/pr/init.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/init.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 print "Instantiating Base"
 Base = Object()

Modified: trunk/pr/meow.pr
===================================================================
--- trunk/pr/meow.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/meow.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 Mammal = Object()
 with Mammal:

Modified: trunk/pr/oops.pr
===================================================================
--- trunk/pr/oops.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/oops.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 Emp_proto = Object()
 

Modified: trunk/pr/re_test.pr
===================================================================
--- trunk/pr/re_test.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/re_test.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 import Re
 

Modified: trunk/pr/scope.pr
===================================================================
--- trunk/pr/scope.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/scope.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 print
 print "This should print 1 2 3 4 5 ..."

Modified: trunk/pr/speed.pr
===================================================================
--- trunk/pr/speed.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/speed.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,5 +1,7 @@
-l=List()
-for i in 10000:
-	l.append!("ben")
-	if not (i % 100):
-		print i
\ No newline at end of file
+#!/usr/bin/env prothon
+
+l=List()
+for i in 10000:
+	l.append!("ben")
+	if not (i % 100):
+		print i


Property changes on: trunk/pr/speed.pr
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:eol-style
   + native

Modified: trunk/pr/stdio_test.pr
===================================================================
--- trunk/pr/stdio_test.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/stdio_test.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 import File
 

Modified: trunk/pr/super.pr
===================================================================
--- trunk/pr/super.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/super.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 proto = Object()
 obj = proto()

Modified: trunk/pr/test.pr
===================================================================
--- trunk/pr/test.pr	2004-04-05 05:22:49 UTC (rev 284)
+++ trunk/pr/test.pr	2004-04-05 14:49:46 UTC (rev 285)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/prothon
+#!/usr/bin/env prothon
 
 p = Object()
 with p:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.