Hi Alan,

thanks for the hint. It shows that it finds the file:

C:\DevZone\plplot\buildnmake\test>bash -x plplot_test.sh
+ version=5.7.1
+ dirname=
+ EXAMPLES_DIR=.
+ SRC_EXAMPLES_DIR=.
+ OUTPUT_DIR=.
+ device=psc
+ export EXAMPLES_DIR SRC_EXAMPLES_DIR OUTPUT_DIR device
+ test 0 -gt 0
+ test ! -d ./c
+ cat
plplot_test.sh: 248352: No such file or directory
+ exit 1

but there are some problems later on. That will make the hacking easier :)

Thanks,
Werner


Alan W. Irwin wrote:
> On 2006-11-29 12:06+0100 Arjen Markus wrote:
> 
>> Argh, why didn't I think of that! You are most probably right. Well, I
>> will check
>> what is happening (or rather, what is not happening) later then.
>> (Debugging shell
>> scripts is always, well, cumbersome)
> 
> Just learned a trick about that from
> (http://iptables-tutorial.frozentux.net/chunkyhtml/x4983.html).
> 
> Temporarily replace #!/bin/bash with #!/bin/bash -x
> 
> That prints out everything as the script proceeds which is extremely useful 
> for
> debugging.
> 
> (Probably one of those things virtually everybody knows who has worked
> seriously with scripts, but I was not aware of it until a few days ago.)
> 
> Alan
> 
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
> package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
> Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel


-- 
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to