File: 01-script-hashbang.patch

package info (click to toggle)
gforth 0.7.2%2Bdfsg1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,332 kB
  • ctags: 2,064
  • sloc: ansic: 8,506; sh: 3,643; lisp: 1,780; makefile: 984; yacc: 186; sed: 141; lex: 102; awk: 21
file content (29 lines) | stat: -rw-r--r-- 695 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Add a #!-line to the installed Forth scripts.
Forwarded: no
Author: Bdale Garbee <bdale@gag.com>
Last-Update: 2009-08-22

--- a/filedump.fs
+++ b/filedump.fs
@@ -1,4 +1,4 @@
-#! /usr/local/lib/gforth/0.2.0/kernel.fi
+#! /usr/share/gforth/0.7.2/kernl32l.fi
 \ file hex dump
 
 \ Copyright (C) 1997,2002,2003,2004,2007 Free Software Foundation, Inc.
--- a/httpd.fs
+++ b/httpd.fs
@@ -1,4 +1,4 @@
-#! /usr/local/bin/gforth
+#! /usr/bin/gforth
 
 \ Copyright (C) 2000,2002,2003,2004,2006,2007,2008 Free Software Foundation, Inc.
 
--- a/sieve.fs
+++ b/sieve.fs
@@ -1,4 +1,4 @@
-#! /usr/stud/paysan/bin/forth
+#! /usr/bin/gforth
 
 DECIMAL
 : SECS TIME&DATE  2DROP DROP  60 * + 60 * + ;