Remove unnecessary if-statement.
This commit is contained in:
		| @@ -260,8 +260,6 @@ case $1 in | |||||||
| 	build) | 	build) | ||||||
| 		VERBOSE=0 | 		VERBOSE=0 | ||||||
| 		JOBS=1 | 		JOBS=1 | ||||||
| 		if [ $# -gt 1 ] |  | ||||||
| 		then |  | ||||||
| 		for i in ${@:2} | 		for i in ${@:2} | ||||||
| 		do | 		do | ||||||
| 			case $i in | 			case $i in | ||||||
| @@ -281,7 +279,6 @@ case $1 in | |||||||
| 					exit 1;; | 					exit 1;; | ||||||
| 			esac | 			esac | ||||||
| 		done | 		done | ||||||
| 		fi |  | ||||||
| 		build_project $VERBOSE $JOBS;; | 		build_project $VERBOSE $JOBS;; | ||||||
| 	serve|server) | 	serve|server) | ||||||
| 		php -S localhost:8080 -t $OUTPUT_DIR/;; | 		php -S localhost:8080 -t $OUTPUT_DIR/;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user