Commit Graph

117 Commits

Author SHA1 Message Date
Tomas V.V.Cox
8a00ccf039 Added "\nRunning on: ".php_uname(); to pear -V 2003-06-30 10:43:57 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Stig Bakken
99824847c6 * look for pearcmd.php in the right directory when run from a cvs checkout 2003-04-04 00:15:53 +00:00
Stig Bakken
3ba4fa6330 * rename pear_unices to pear.sh and make it a pure shell script 2003-04-04 00:11:00 +00:00
Stig Bakken
19e924695d * paj's last Windows install fixes 2003-04-03 23:48:39 +00:00
Stig Bakken
297caeb372 * use PHP_PEAR_* environment variables (paj) 2003-04-03 23:21:30 +00:00
Martin Jansen
16bf9ed5fc * Changing to DOS line breaks. 2003-03-25 14:34:02 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar
20c43285f7 - Fixed bug: #13561 (--without-pear prevents install of phpize, php-config) 2003-01-28 10:59:12 +00:00
Stig Bakken
4a723721b9 * obey PHP_PEAR_INSTALL_DIR and PHP_PEAR_PHP_BIN environment variables 2003-01-10 01:16:23 +00:00
Harald Radi
f1f96c86d1 fixing typo 2003-01-03 00:17:41 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Stig Bakken
976aef1ccf * introduce php_bin config parameter
* use PHP_PEAR_<PARAM_NAME> environment variables for defaults
  (for example PHP_PEAR_PHP_DIR)
* Windows cleanups
2002-12-13 02:10:23 +00:00
Stig Bakken
7547238723 no longer in use 2002-11-15 23:19:41 +00:00
Sascha Schumann
04e564dec5 use grep -E instead of egrep. the latter is not defined by POSIX anymore 2002-11-15 00:20:17 +00:00
Derick Rethans
5f070780bf - Explicitly return "0" at the end of the script. For some weird reason it
was returning error code 256 for me. This fixes pear install <pecl>.tar.gz
  for me.
#- Not sure if this is correct though
2002-10-22 11:21:38 +00:00
Hartmut Holzgraefe
dde85e3936 fix for #19712 & #19715 -> whitepsace in extension dir name 2002-10-21 11:53:04 +00:00
Stig Bakken
04bb45cf4b * added --libs option 2002-09-28 21:58:19 +00:00
Pierre Joye
3f27a08b66 Set 'defaultuser' if 'USER' env not found 2002-08-26 00:39:56 +00:00
Pierre Joye
19dacf18a1 Remove $_ENV usages
Remove $env arg in all functions and uses getenv instead
Note only 'USER' env var is used
2002-08-25 18:21:10 +00:00
Tal Peer
90488714ee * Fixed E_NOTICE on pear -V 2002-07-28 17:06:28 +00:00
Tal Peer
6bb32a9b1e pear -V now shows pear version, php version and ZE version. 2002-07-28 09:09:03 +00:00
Tomas V.V.Cox
9aca197515 use -d output_buffer=0 to workarround the PHP flush() problem 2002-07-26 11:58:10 +00:00
Tomas V.V.Cox
7bf6b4ccee Use script arg separator '--'
Clean up unused stuff
2002-07-26 10:48:20 +00:00
Stig Bakken
6e0745b57a * don't set include path if running 'pear.in' without substitutions
made by the installer
* sort command names in help output
2002-07-07 21:01:10 +00:00
Tomas V.V.Cox
ba7bdbdb65 change the include_path setting to be in the php space instead
of doing in the interpreter line (seems to break FreeBSD)
2002-06-25 13:45:29 +00:00
Stig Bakken
c55ce8b07f * set include_path when running "pear" 2002-06-16 05:43:48 +00:00
Tomas V.V.Cox
d2b830ff4a Attempt to make pear.bat work better under Windows 2002-06-12 16:31:53 +00:00
Tomas V.V.Cox
613496c4ef Moved to pear/Archive_Tar/scripts 2002-06-09 18:25:40 +00:00
Tomas V.V.Cox
149dcec76f Be nicer with the help 2002-06-07 08:05:48 +00:00
Tomas V.V.Cox
7770b625ba ws 2002-06-07 08:04:05 +00:00
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Stig Bakken
599cede43e * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting 2002-05-28 00:45:19 +00:00
Tomas V.V.Cox
25b78bc5bd Added "pear -V" (show version information) 2002-05-26 19:42:13 +00:00
Stig Bakken
d3926c1e7e * another help fix 2002-05-26 19:19:34 +00:00
Tomas V.V.Cox
f2f69974e9 "Help" fixes 2002-05-26 17:37:52 +00:00
Stig Bakken
f1882b9fc5 * Console_Getopt POSIX fix 2002-05-26 12:51:10 +00:00
Stig Bakken
7ecfacedad * implemented shortcuts ("pv" for "package-validate" etc.)
do "pear help shortcuts" to see what shortcuts exist
* renamed "list-installed" command to "list" and made it able to
  list the contents of installed packages as well as tar/tgz/xml files
* added some more/better command docs
* fixed up the synopsis part in the help output
* display option parameters (--foo=bar, where bar is specified in
  'shortarg' as for example 'f:bar')
* renamed list-remote-packages to list-remote
* renamed remote-package-info to remote-info
2002-05-21 01:27:53 +00:00
Stig Bakken
454a31121c * support multiple -v and -q options 2002-05-20 10:27:16 +00:00
Tomas V.V.Cox
93b603861e Put "pear help options" working again 2002-05-19 15:50:36 +00:00
Tomas V.V.Cox
5ea5758bcf Add "\n" after the error in usage() 2002-05-14 17:58:44 +00:00
Stig Bakken
ed16e64498 * moved the {config xxx} help message substitution to
PEAR_Command_Common::getHelp
2002-05-14 01:45:20 +00:00
Stig Bakken
66605d218d * fix option parsing 2002-05-12 23:21:30 +00:00
Stig Bakken
3bc12ac242 * refactored the command/options code:
- now each command class should define a "commands" property with
    documentation, option specs etc.
  - both long and short options are now supported
  - after recent changes to Console_Getopt, you may now have options
    to commands even though the same option is also valid for the pear
    command itself
  - less CLI-centric, better suited to Gtk and Web frontends
2002-05-12 21:09:04 +00:00
Tomas V.V.Cox
94a3659642 The command name is now the first arg not the second 2002-05-12 16:42:50 +00:00
Tomas V.V.Cox
1bf2abc2f5 The first entry in argv is the command name, so Getopt will stop
parsing more args
# Stig be carefull, your change to Getopt breaks BC
2002-05-12 16:30:26 +00:00
Derick Rethans
24e96213ff - Fix phpize 2002-05-09 12:27:20 +00:00
Derick Rethans
f0d18c63be - Dump API NOs 2002-05-09 12:11:57 +00:00
foobar
1d4753755d Fix 'php-config --version' 2002-05-09 12:06:44 +00:00
Stig Bakken
b14c2f9185 * add -G option to "pear" for php-gtk frontend
* added Gtk stub (only creates window right now)
* added command descriptions
2002-05-09 02:31:37 +00:00