D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
admin
/
html.6.3.1
/
utility
/
build_php
/
Filename :
build_common.template
back
Copy
#!/bin/sh ########################################### EXTRA_PATH_ENV="__extra_path_env__" PROGRESS_F=__progress_f__ PHP_VERSION=__php_version__ PHP_BUILD_DIR=__php_build_dir__ ########################################### PATH=${EXTRA_PATH_ENV}$PATH check_errs() { if [ "${1}" -ne "0" ] ; then echo "**ERROR** ${2}" echo "**ERROR** ${2}" >> ${PROGRESS_F} exit ${1} fi } main_msg() { # write to both stdout and progress echo "${1}" echo "${1}" >> ${PROGRESS_F} } # clear out echo "**MAIN_STATUS** retrieved from ${PROGRESS_F}" > ${PROGRESS_F}