From 855e2a47b53c5bdebf8c187cf72a0c4c5861b9ec Mon Sep 17 00:00:00 2001 From: Arian Acosta Date: Sat, 15 Jul 2017 11:08:01 -0400 Subject: [PATCH] passing only the second argument and onward --- laradock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laradock.sh b/laradock.sh index 14f7bdc..da267a5 100755 --- a/laradock.sh +++ b/laradock.sh @@ -11,7 +11,7 @@ if [ "$1" == "up" ] ; then echo "Initializing Docker Sync"; docker-sync start; echo "Initializing Docker Compose"; - docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d $@; + docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@:2}; elif [ "$1" == "down" ]; then echo "Stopping Docker Compose"; docker-compose down;