Use consistent naming convention

This commit is contained in:
Zach Borboa
2018-04-27 23:54:34 -07:00
parent 00cfe93f6a
commit 98ce5d3286
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ EOF
sleep 5
sudo service nginx start
script_dir="$(dirname "$(readlink -f "$0")")"
root="${script_dir}/PHPCurlClass"
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
root="${SCRIPT_DIR}/PHPCurlClass"
sudo cp -v "${root}/"* "/usr/share/nginx/html/"
# Use an older version of PHPUnit for HHVM builds so that unit tests can be
+2 -2
View File
@@ -1,6 +1,6 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}"
cd "${SCRIPT_DIR}"
phpcs \
--extensions="php" \
--ignore="*/vendor/*" \
+2 -2
View File
@@ -1,7 +1,7 @@
set -x
SCRIPT_PATH="$(cd "$(dirname "$0")"; pwd -P)"
cd "${SCRIPT_PATH}"
SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
cd "${SCRIPT_DIR}"
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
pid="${!}"