[Devel] Correction on scripts/postgresqldb.sh

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Aug 31 11:11:54 CEST 2005


Hello,

On 08/31/05 06:05, Franz Wu wrote:

> Hi
> I'm a newbie to this list. I'd like to point out two lines should be
> modified for the script to run.
>
> Platform: Redhat 9/ Celeron 1.2G & Debian/ Celeron 1.2G
> OpenSER version: CVS snapshot openser-devel-cvs-20050828-062752.tgz
> File: scripts/postgresqldb.sh
>
> [1] line 149. remove echo
> 147 sql_query()
> 148 {
> 149 $CMD "$@"
> 150 }
>
> [2] line 514. add \ before $1 and $2
> 514 CREATE FUNCTION "concat" (text,text) RETURNS text AS 'SELECT \$1
> || \$2;' LANGUAGE 'sql';
>
>
> Anybody tells me how to use diff to report this kind of modification?
> Hope it helpful!

just generate a patch file using:

diff -u old_file new_file > file.patch

If you use a source tree from the cvs and you modify the file there,
then do:

cvs diff -u file >file.patch

Then send the patch to the mailing list.

Daniel

>
> Regards
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list