On 09/04/10 17:43, Barry Jackson wrote:
On 09/04/10 16:26, Pritpal Bedi wrote:

IF hbide_getOS() == "nix"
cArg := iif( empty( ::cBatch ), cC, cC + '".' + ::cBatch + "&& "
)
cArg += cExeHbMk2 + " " + cHbpPath + cCmdParams + '"'
ELSE
*cArgs := '-c ". ' + /home/baz/tmp/ahrl8i.sh&& hbmk2
/home/baz/hash/ash.hbp -q -trace -info -lang=en"'


...to add to my other reply (which is taking for ever to hit the list)
the above is missing a space after .
however with it there it still fails with same invalid option error from
hbide, but does run from cmd line.

Rgds
Barry
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Output from latest SVN (14320) :-

----------------------------------------------------------------------------------------------------
Project [ ash ]    Launch [ No ]    Rebuild [ No ]    Started [ 16:08:44 ]
----------------------------------------------------------------------------------------------------
Batch File Exists => /home/baz/tmp/yydylr.sh
Batch File Contents =>
#!/bin/sh
export PATH=$PATH:/home/baz/SVN/harbour/bin/linux/gcc
echo "this ran" > /home/baz/hash/ash_hbide.txt

hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en

Command => /bin/bash
Arguments => -c /home/baz/tmp/yydylr.sh
----------------------------------------------------------------------------------------------------
CurDir() => home/baz/hash Starting in => /home/baz/hash/
/bin/bash: - : invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option

----------------------------------------------------------------------------------------------------
Exit Code [ 2 ] Exit Status [ 0 ] Finished at [ 16:08:44 ] Done in [ 0.63 Secs ]

Rgds,
Barry

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to