#! /bin/sh /usr/share/dpatch/dpatch-run
## interpreters-path.dpatch by  <geox@localhost>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fixes some paths for interpreters on scripts. 

@DPATCH@
diff -urNad openacs-5.4.1~/bin/ad-context-server.pl openacs-5.4.1/bin/ad-context-server.pl
--- openacs-5.4.1~/bin/ad-context-server.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/ad-context-server.pl	2008-04-09 14:41:12.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 ##########################################################
 # ArsDigita Context Server
diff -urNad openacs-5.4.1~/bin/create-sql-drop-file.pl openacs-5.4.1/bin/create-sql-drop-file.pl
--- openacs-5.4.1~/bin/create-sql-drop-file.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/create-sql-drop-file.pl	2008-04-09 14:41:27.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 # @author: Jim Guggemoos		created it
 # @author: Christian Brechbuehler	some maintenance
diff -urNad openacs-5.4.1~/bin/data-dictionary-diff.pl openacs-5.4.1/bin/data-dictionary-diff.pl
--- openacs-5.4.1~/bin/data-dictionary-diff.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/data-dictionary-diff.pl	2008-04-09 14:41:39.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 # by Jin Choi <jsc@arsdigita.com>, 2000-03-20
 
diff -urNad openacs-5.4.1~/bin/encode64.pl openacs-5.4.1/bin/encode64.pl
--- openacs-5.4.1~/bin/encode64.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/encode64.pl	2008-04-09 14:42:08.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 #
 # Encode a file from stdin as base64
 #
diff -urNad openacs-5.4.1~/bin/plsql-diff.pl openacs-5.4.1/bin/plsql-diff.pl
--- openacs-5.4.1~/bin/plsql-diff.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/plsql-diff.pl	2008-04-09 14:42:24.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 # by Jin Choi <jsc@arsdigita.com>, 2000-03-21
 
diff -urNad openacs-5.4.1~/bin/triggers-diff.pl openacs-5.4.1/bin/triggers-diff.pl
--- openacs-5.4.1~/bin/triggers-diff.pl	2001-03-13 23:59:26.000000000 +0100
+++ openacs-5.4.1/bin/triggers-diff.pl	2008-04-09 14:42:36.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 # by Jin Choi <jsc@arsdigita.com>, 2000-03-26
 
diff -urNad openacs-5.4.1~/etc/deploy.sh openacs-5.4.1/etc/deploy.sh
--- openacs-5.4.1~/etc/deploy.sh	2004-03-03 14:18:35.000000000 +0100
+++ openacs-5.4.1/etc/deploy.sh	2008-04-09 14:42:59.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bin/tclsh
+#!/usr/bin/tclsh
 # process command line arguments
 foreach arg $argv {
     switch -glob -- $arg {
diff -urNad openacs-5.4.1~/etc/install/functions.sh openacs-5.4.1/etc/install/functions.sh
--- openacs-5.4.1~/etc/install/functions.sh	2004-04-25 11:32:27.000000000 +0200
+++ openacs-5.4.1/etc/install/functions.sh	2008-04-09 14:43:33.000000000 +0200
@@ -1,3 +1,4 @@
+#!/bin/sh
 # Access config parameters in the TCL file through this function
 
 get_config_param () {
diff -urNad openacs-5.4.1~/packages/acs-core-docs/www/files/restart-aolserver-daemontools.txt openacs-5.4.1/packages/acs-core-docs/www/files/restart-aolserver-daemontools.txt
--- openacs-5.4.1~/packages/acs-core-docs/www/files/restart-aolserver-daemontools.txt	2003-06-24 05:19:17.000000000 +0200
+++ openacs-5.4.1/packages/acs-core-docs/www/files/restart-aolserver-daemontools.txt	2008-04-09 14:44:21.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/sh
+#!/bin/sh
 # Restarts an AOLserver (daemontools version). 
 # Takes as its only argument the name of the server to kill.
 # joela 06/23/2003
@@ -19,4 +19,4 @@
 # meanwhile, this works:
 
 svc -d $1
-svc -u $1
\ No newline at end of file
+svc -u $1
diff -urNad openacs-5.4.1~/packages/acs-lang/bin/functions.sh openacs-5.4.1/packages/acs-lang/bin/functions.sh
--- openacs-5.4.1~/packages/acs-lang/bin/functions.sh	2003-10-31 13:58:29.000000000 +0100
+++ openacs-5.4.1/packages/acs-lang/bin/functions.sh	2008-04-09 14:44:48.000000000 +0200
@@ -1,3 +1,4 @@
+#!/bin/sh
 # Functions re-used by scripts in acs-lang/bin
 #
 # @author Peter Marklund
