About HyperNews
 Next-in-Thread Next-in-Thread
 Next Message Next Message

Question Scripts execution directory / path setting 

Keywords: HyperNews installation
Forum: HyperNews Bugs
Date: 1995, Dec 04
From: E. Rysavy

Unfortunately, for executing scripts on ULTRIX and the CERN web server, the environment variable $1 is not set.
$0 still contains the full path (e.g. /usr/local/etc/httpd/cgi-bin/HyperNews/get).

Scripts are executed from the root, so I had to hardcode the path to the scripts directory (in several scripts) in order to get them running.
Would it be possible to either provide a script like fixPerlPath to set these as well or (better) to use $0 instead of $1?

 Next-in-Thread Next-in-Thread
 Next Message Next Message
Inline:
 1 1
 All All
Outline:
 1 1
 2 2
 All All

 Add Add
to: "Scripts execution directory / path setting"

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


|| About || Instructions || Test || Guestbook || Future || || Source || Installation || Consortium ||

Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!