Browse Source

formatting

Maurits van der Schee 5 years ago
parent
commit
867678c081
1 changed files with 4 additions and 5 deletions
  1. 4
    5
      docker/run.sh

+ 4
- 5
docker/run.sh View File

@@ -4,19 +4,18 @@ i=0
4 4
 options=()
5 5
 for f in $FILES; do
6 6
     if [[ -d "$f" ]]; then
7
-	((i++))
8
-	options[$i]=$f
7
+        ((i++))
8
+        options[$i]=$f
9 9
     fi
10 10
 done
11 11
 PS3="> "
12 12
 select f in "${options[@]}"; do
13
-    if (( REPLY > 0 && REPLY <= ${#options[@]} )) ; then
13
+    if (( REPLY > 0 && REPLY <= ${#options[@]} )); then
14 14
         break
15 15
     else
16
-	exit
16
+        exit
17 17
     fi
18 18
 done
19 19
 dir=$(readlink -f ..)
20 20
 docker rm "php-crud-api_$f" > /dev/null 2>&1
21 21
 docker run -ti -v $dir:/php-crud-api --name "php-crud-api_$f" "php-crud-api:$f" /bin/bash -c '/usr/sbin/docker-run && cd php-crud-api && /bin/bash'
22
-

Loading…
Cancel
Save