1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/bin/sh # Copyright 2012 Canonical Ltd. This software is licensed under the # GNU Affero General Public License version 3 (see the file LICENSE). [ -n "$RESOLVE_TEST_CHARMS" ] || exec /usr/bin/juju $@ #set -x CHARM_TEST_REPO=~/juju-charms # <---- Change this. cmd=$1 case $cmd in deploy) shift charm=$1 shift exec /usr/bin/juju deploy --repository $CHARM_TEST_REPO local:$charm $@ ;; *) exec /usr/bin/juju $@ ;; esac |