Changeset 4371
- Timestamp:
- Thu Jan 19 11:28:11 2006
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/CAMPSITE_2_4_BRANCH/campsite/install_conf/check4_functions
r4158 r4371 1004 1004 { 1005 1005 is_checked pear && return 0 1006 check4_file pear –executable –path "/ bin:/usr/bin:/usr/local/bin:/opt/bin"1006 check4_file pear –executable –path "/usr/local/bin:/bin:/usr/bin:/opt/bin" 1006 1006 result=$? && [ $result -ne 0 ] && return 1 1007 1007 pear_dir=`pear config-get php_dir | cut -f 2 -d "="` 1025 1025 is_checked php_cli && return 0 1026 1026 export PHP= 1027 for p in / bin /usr/bin /usr/local/bin /opt/bin; do1027 for p in /usr/local/bin /bin /usr/bin /opt/bin; do 1027 1027 [ -x "$p/php" ] && export PHP="$p/php" && break 1028 1028 done