Re: go-pear!

From: Date: Sun, 24 Mar 2002 11:21:19 +0000
Subject: Re: go-pear!
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-5089@lists.php.net to get a copy of this message
Martin Jansen wrote: > > On Sun, 24 Mar 2002 05:19:10 +0100, Tomas V.V.Cox wrote: > > >I've done a script to automatically put the PEAR installer ready to run, > >this is: download from CVS the needed files and build the "pear" > >command. > > > >Try it with: > > > ># lynx -source http://pear.php.net/~cox/go-pear | sh > > Great work! > > But when trying to run it, I get > > "Directory '/usr/local/lib/php' does not exit" > > even though the directory does exist. Any clues? I've tested it under Linux, what OS do you have? See that part of the code of "go-pear" (you can download it and run it locally): # ask for a directory read destdir < /dev/tty # no directory given, fallback to default /usr/local/lib/php if [ ! $destdir ]; then destdir=/usr/local/lib/php fi # assert the directory does exist or die if [ ! -d $destdir ]; then echo "Directory '$destdir' does not exit" exit -1 fi If you can do some debug (just with some 'echo "($destdir)"') I would be able to catch the problem. > What do you think of > putting the script in CVS? > Yeah, but let's wait a little for the moment :-) Tomas V.V.Cox

« previous php.pear.dev (#5089) next »