diff --git a/install-php-extensions b/install-php-extensions index fafaa1a..65e5f22 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -320,7 +320,7 @@ getPackageSource () { getPackageSource_outDir='' for getPackageSource_i in $(ls "${getPackageSource_tempDir}") do - if test -n "${getPackageSource_outDir}" -o -f "${getPackageSource_tempDir}/${getPackageSource_i}" + if test -n "${getPackageSource_outDir}" || test -f "${getPackageSource_tempDir}/${getPackageSource_i}" then getPackageSource_outDir='' break diff --git a/scripts/travisci-update-readme b/scripts/travisci-update-readme index fac1ec1..5ee9174 100755 --- a/scripts/travisci-update-readme +++ b/scripts/travisci-update-readme @@ -11,7 +11,7 @@ WATCHED_FILES='data/special-requirements data/supported-extensions scripts/commo echo 'Checking environment' -if test -z "${TRAVIS_BUILD_DIR:-}" -o -z "${TRAVIS_BRANCH:-}" -o -z "${TRAVIS_EVENT_TYPE:-}" -o -z "${TRAVIS_REPO_SLUG:-}" +if test -z "${TRAVIS_BUILD_DIR:-}" || test -z "${TRAVIS_BRANCH:-}" || test -z "${TRAVIS_EVENT_TYPE:-}" || test -z "${TRAVIS_REPO_SLUG:-}" then echo 'Not in a TravisCI environment' >&2 exit 1 diff --git a/scripts/update-readme b/scripts/update-readme index b201308..8752481 100755 --- a/scripts/update-readme +++ b/scripts/update-readme @@ -203,7 +203,7 @@ generateReadme () { generateReadme_skip='' while IFS= read -r generateReadme_line do - if test "${generateReadme_line}" = "${generateReadme_ph_ExtensionsEnd}" -o "${generateReadme_line}" = "${generateReadme_ph_SpecialEnd}" + if test "${generateReadme_line}" = "${generateReadme_ph_ExtensionsEnd}" || test "${generateReadme_line}" = "${generateReadme_ph_SpecialEnd}" then generateReadme_skip='' fi