Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/genif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ header_list=
olddir=$(pwd)

# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../" && pwd -P)" || exit

module_ptrs="$(echo $extensions | $AWK -f ./build/order_by_dep.awk)"

Expand Down
4 changes: 2 additions & 2 deletions buildconf
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ force=0
debug=0

# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)" || exit

php_extra_version=$(grep '^AC_INIT(' configure.ac)
php_extra_version=$(grep '^AC_INIT(' configure.ac) || exit
case "$php_extra_version" in
*-dev*)
dev=1
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/credits
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Generate credits_*.h headers from the ext/*/CREDITS and sapi/*/CREDITS files.

# Go to project root directory
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit

awkprog='
BEGIN { FS = "\n|\r\n|\r"; RS = "" }
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/genfiles
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SED=${SED:-sed}
MAKE=${MAKE:-make}

# Go to project root.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit

# Check required bison version from the configure.ac file.
required_bison_version=$($SED -n 's/PHP_PROG_BISON(\[\([0-9\.]*\)\].*/\1/p' configure.ac)
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/makedist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ $($tar --version) == *"bsdtar"* ]]; then
fi

# Go to project root directory.
cd $(CDPATH= cd -- "$(dirname -- "$0")/../../" && pwd -P)
cd "$(CDPATH='' cd -- "$(dirname -- "$0")/../../" && pwd -P)" || exit

# Process options and arguments.
while :; do
Expand Down
Loading