[GRASS-dev] svn 7.0 init.sh problem

Hello,

init.sh is in trouble on svn,
sounds like the programs are not found
the directory indeed does not have those files.
Could anyone point to the place of generation of these files plz?
thanks

yann@siduxbox:~$ grass70
/usr/local/grass-7.0.svn/etc/Init.sh: 27: source: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 142: create_tmp: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 145: create_gisrc: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 148: read_gui: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 151: get_locale: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 155: set_paths: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 160: set_defaults: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 163: set_browser: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 183: grass_intro: not found
Starting GRASS ...
/usr/local/grass-7.0.svn/etc/Init.sh: 188: check_gui: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 199: set_data: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 202: read_gisrc: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 205: check_lock: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 208: make_fontcap: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 214: db.connect: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 218: check_shell: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 220: check_batch_job: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 222: start_gui: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 224: clear_screen: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 232: show_banner: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 232: say_hello: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 232: show_info: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 246: default_startup: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 250: clear_screen: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 252: clean_temp: not found
cp: cannot stat `': No such file or directory
/usr/local/grass-7.0.svn/etc/Init.sh: 259: cleanup_tmpdir: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 263: done_message: not found

Yann

--
Yann Chemin
International Rice Research Institute
Office: http://www.irri.org/gis
Perso: http://www.freewebs.com/ychemin

Yann Chemin:

init.sh is in trouble on svn,
sounds like the programs are not found
the directory indeed does not have those files.
Could anyone point to the place of generation of these
files plz?
thanks

yann@siduxbox:~$ grass70
/usr/local/grass-7.0.svn/etc/Init.sh: 27: source: not found
/usr/local/grass-7.0.svn/etc/Init.sh: 142: create_tmp: not found

[...]

'source "$GISBASE/etc/functions.sh"' sets up create_tmp() et al. functions.
So if that fails they all fail.

Hamish

Yann Chemin wrote:

init.sh is in trouble on svn,
sounds like the programs are not found
the directory indeed does not have those files.
Could anyone point to the place of generation of these files plz?
thanks

yann@siduxbox:~$ grass70
/usr/local/grass-7.0.svn/etc/Init.sh: 27: source: not found

Oops. It appears that "source" is a bash-ism. Changed to use "." in
r33304.

--
Glynn Clements <glynn@gclements.plus.com>

Thanks Glynn,
it works now.
Yann

2008/9/7 Glynn Clements <glynn@gclements.plus.com>:

Yann Chemin wrote:

init.sh is in trouble on svn,
sounds like the programs are not found
the directory indeed does not have those files.
Could anyone point to the place of generation of these files plz?
thanks

yann@siduxbox:~$ grass70
/usr/local/grass-7.0.svn/etc/Init.sh: 27: source: not found

Oops. It appears that "source" is a bash-ism. Changed to use "." in
r33304.

--
Glynn Clements <glynn@gclements.plus.com>

--
Yann Chemin
International Rice Research Institute
Office: http://www.irri.org/gis
Perso: http://www.freewebs.com/ychemin