Mercurial > octave-nkf
comparison run-octave.in @ 6538:e3a7611430a8
[project @ 2007-04-18 18:27:47 by jwe]
author | jwe |
---|---|
date | Wed, 18 Apr 2007 18:30:18 +0000 |
parents | ccdb8ffbb994 |
children | ecc8d30fa288 |
comparison
equal
deleted
inserted
replaced
6537:062bade36bf7 | 6538:e3a7611430a8 |
---|---|
27 d3_path=$(echo "$d3_list" | $AWK '{ s = sprintf ("%s%s", s, $0); } END { sub (/:$/, "", s); print s; }') | 27 d3_path=$(echo "$d3_list" | $AWK '{ s = sprintf ("%s%s", s, $0); } END { sub (/:$/, "", s); print s; }') |
28 d4_path=$(echo "$d4_list" | $AWK '{ s = sprintf ("%s%s", s, $0); } END { sub (/:$/, "", s); print s; }') | 28 d4_path=$(echo "$d4_list" | $AWK '{ s = sprintf ("%s%s", s, $0); } END { sub (/:$/, "", s); print s; }') |
29 | 29 |
30 LOADPATH="$d1_path:$d2_path:$d3_path:$d4_path" | 30 LOADPATH="$d1_path:$d2_path:$d3_path:$d4_path" |
31 IMAGEPATH="$top_srcdir/scripts/image" | 31 IMAGEPATH="$top_srcdir/scripts/image" |
32 INFOFILE="$builddir/doc/interperter/octave.info" | |
32 | 33 |
33 args="--no-initial-path --path=\"$LOADPATH\" --image-path=\"$IMAGEPATH\"" | 34 args="--no-initial-path --path=\"$LOADPATH\" --image-path=\"$IMAGEPATH\" --info=file=\"$INFOFILE\"" |
34 | 35 |
35 if [ $# -gt 0 ]; then | 36 if [ $# -gt 0 ]; then |
36 if [ "x$1" = "x-g" ]; then | 37 if [ "x$1" = "x-g" ]; then |
37 driver="gdb" | 38 driver="gdb" |
38 if [ $(/bin/pwd) = "$builddir" ]; then | 39 if [ $(/bin/pwd) = "$builddir" ]; then |