Skip to content
Snippets Groups Projects
Commit d509c308 authored by jurgenhaas's avatar jurgenhaas
Browse files

#14 Remove spaces in case constructs

parent 411c3902
No related branches found
No related tags found
No related merge requests found
...@@ -73,11 +73,11 @@ function getConfig { ...@@ -73,11 +73,11 @@ function getConfig {
while true; do while true; do
read -p "Which PHP version is your project using? " PHP_VERSION read -p "Which PHP version is your project using? " PHP_VERSION
case ${PHP_VERSION} in case ${PHP_VERSION} in
7.0 ) break;; 7.0) break;;
7.1 ) break;; 7.1) break;;
7.2 ) break;; 7.2) break;;
* ) echo "Version not supported.";; *) echo "Version not supported.";;
esac esac
done done
echo "PHP_VERSION=${PHP_VERSION}" >>.env echo "PHP_VERSION=${PHP_VERSION}" >>.env
...@@ -125,24 +125,24 @@ if [[ "$VERSION" == "{{ version }}" ]]; then ...@@ -125,24 +125,24 @@ if [[ "$VERSION" == "{{ version }}" ]]; then
fi fi
case $1 in case $1 in
help ) help)
showHelp showHelp
;; ;;
version ) version)
showVersion showVersion
;; ;;
selfupdate ) selfupdate)
selfUpdate selfUpdate
;; ;;
update ) update)
updateImage updateImage
startContainer startContainer
;; ;;
* ) *)
if [[ -n "$1" ]]; then if [[ -n "$1" ]]; then
ID=$(docker container ls -q -f name=$1_l3d) ID=$(docker container ls -q -f name=$1_l3d)
if [[ -n "${ID}" ]]; then if [[ -n "${ID}" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment