From ff6b22cc5f1b7b0b38185acc22f3860b1ac2b0c6 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 10 Dec 2017 18:17:43 +0100 Subject: [PATCH] cli: allow to pass args with spaces --- bin/yiimp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/yiimp b/bin/yiimp index 2fcfd37..269115b 100755 --- a/bin/yiimp +++ b/bin/yiimp @@ -3,6 +3,6 @@ ROOTDIR=/data/yiimp DIR=`pwd` -cd "$ROOTDIR/web" && php yaamp/yiic.php $* +cd "$ROOTDIR/web" && php yaamp/yiic.php "$@" cd $DIR