summaryrefslogtreecommitdiff
path: root/math/octave-forge/patches/patch-aa
blob: ae6044bf8e6abeed95655cc5e5d92a890a09e32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.1.1.1 2004/08/14 13:29:56 dmcmahill Exp $

--- main/gsl/replace_template.sh.orig	Tue May  4 15:49:42 2004
+++ main/gsl/replace_template.sh
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-csplit -f tmp_gsl $1 /DEFUN/ /GSL_FUNC_DOCSTRING/ /./ > /dev/null
+${CSPLIT} -f tmp_gsl $1 /DEFUN/ /GSL_FUNC_DOCSTRING/ /./ > /dev/null
 cat tmp_gsl01 | sed "s/GSL_OCTAVE_NAME/$octave_name/g"
 cat docstring.txt | sed 's/\\/\\\\/g' | sed 's/$/\\n\\/g' 
 cat tmp_gsl03 | sed "s/GSL_OCTAVE_NAME/$octave_name/g" | sed "s/GSL_FUNC_NAME/$funcname/g" 
 
-rm -f tmp_gsl* docstring.txt
\ No newline at end of file
+rm -f tmp_gsl* docstring.txt