わざわざプロジェクトルートにいくのめどい。
#!/bin/sh # -*- shell-scrpt -*- while [ 1 ]; do if [ -f 'symfony' ]; then symfony $* exit $? fi cd .. if [ "$PWD" = "/" ]; then echo 'cannot find symfony project directory' exit 1 fi done
hilde