File tree 3 files changed +40
-31
lines changed
3 files changed +40
-31
lines changed Original file line number Diff line number Diff line change 31
31
</maintainer >
32
32
</maintainers >
33
33
<release >
34
- <version >1.1-dev </version >
34
+ <version >1.1</version >
35
35
<state >stable</state >
36
36
<date >2003-01-10</date >
37
37
<notes >
@@ -94,17 +94,23 @@ PEAR INSTALLER:
94
94
<file role =" php" name =" Guess.php" />
95
95
</dir >
96
96
<dir name =" scripts" >
97
- <file baseinstalldir =" /" role =" script" install-as =" pear" name =" pear.in " >
97
+ <file baseinstalldir =" /" role =" script" install-as =" pear" name =" pear_unices " >
98
98
<replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
99
99
<replace from =" @php_dir@" to =" php_dir" type =" pear-config" />
100
100
<replace from =" @pear_version@" to =" version" type =" package-info" />
101
101
<replace from =" @include_path@" to =" php_dir" type =" pear-config" />
102
102
</file >
103
103
<file baseinstalldir =" /" role =" script" platform =" windows" install-as =" pear.bat" name =" pear.bat" >
104
- <replace from =' "@bin_dir@"' to =" bin_dir" type =" pear-config" />
105
- <replace from =' "@php_bin@"' to =" php_bin" type =" pear-config" />
106
- <replace from =' "@include_path@"' to =" php_dir" type =" pear-config" />
107
- </file >
104
+ <replace from =" @bin_dir@" to =" bin_dir" type =" pear-config" />
105
+ <replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
106
+ <replace from =" @include_path@" to =" php_dir" type =" pear-config" />
107
+ </file >
108
+ <file baseinstalldir =" /" role =" php" install-as =" pearcmd.php" name =" pear.in" >
109
+ <replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
110
+ <replace from =" @php_dir@" to =" php_dir" type =" pear-config" />
111
+ <replace from =" @pear_version@" to =" version" type =" package-info" />
112
+ <replace from =" @include_path@" to =" php_dir" type =" pear-config" />
113
+ </file >
108
114
</dir >
109
115
</filelist >
110
116
<deps >
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # first find which PHP binary to use
4
+ if test " x$PHP_PEAR_PHP_BIN " ! = " x" ; then
5
+ PHP=" $PHP_PEAR_PHP_BIN "
6
+ else
7
+ if test " @php_bin@" = ' @' php_bin' @' ; then
8
+ PHP=php
9
+ else
10
+ PHP=" @php_bin@"
11
+ fi
12
+ fi
13
+
14
+ # then look for the right pear include dir
15
+ if test " x$PHP_PEAR_INSTALL_DIR " ! = " x" ; then
16
+ INC=" -d include_path=$PHP_PEAR_INSTALL_DIR "
17
+ else
18
+ if test " @php_dir@" = ' @' php_dir' @' ; then
19
+ INC=" "
20
+ else
21
+ INC=" -d include_path=@php_dir@"
22
+ fi
23
+ fi
24
+
25
+ exec $PHP -C -q $INC -d output_buffering=1 $0 $@
26
+ < ? php
27
+ include " @include_path@/pearcmd.php" ;
28
+ ? >
Original file line number Diff line number Diff line change 1
- #! /bin/sh
2
-
3
- # first find which PHP binary to use
4
- if test " x$PHP_PEAR_PHP_BIN " ! = " x" ; then
5
- PHP=" $PHP_PEAR_PHP_BIN "
6
- else
7
- if test " @php_bin@" = ' @' php_bin' @' ; then
8
- PHP=php
9
- else
10
- PHP=" @php_bin@"
11
- fi
12
- fi
13
-
14
- # then look for the right pear include dir
15
- if test " x$PHP_PEAR_INSTALL_DIR " ! = " x" ; then
16
- INC=" -d include_path=$PHP_PEAR_INSTALL_DIR "
17
- else
18
- if test " @php_dir@" = ' @' php_dir' @' ; then
19
- INC=" "
20
- else
21
- INC=" -d include_path=@php_dir@"
22
- fi
23
- fi
24
-
25
- exec $PHP -C -q $INC -d output_buffering=1 $0 $@
26
1
<?php
27
2
//
28
3
// +----------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments