libexec/build in alpha_omega-0.0.157 vs libexec/build in alpha_omega-0.0.158
- old
+ new
@@ -133,18 +133,16 @@
;;
esac
export LOCAL_ONLY=true
-default_pod=$(cat /etc/podname 2>&- || true)
-
case "$(basename $0)" in
invoke)
export COMMAND="$1"; shift
if [[ -n $1 ]]; then
- set $(for a in "$@"; do if [[ $default_pod = $a ]]; then echo "default.app"; else echo $a.app; fi; done)
+ set $(for a in "$@"; do echo $a.app; done)
fi
LOCAL_ONLY=
tmp_invoke=$(mktemp -t XXXXXXXXX)
bundle exec cap "$@" invoke 2>&1 | perl -pe 's{.\[\d+m}{}g' | perl -ne 'm{^\s*\*+\s*\[(out|err)\s*::\s*([^]]+)\] ?(.*)} && print "$1 $2 $3\n"' > $tmp_invoke 2>&1
@@ -155,10 +153,10 @@
done
rm -f $tmp_invoke
;;
*)
if [[ -n $1 ]]; then
- set $(for a in "$@"; do if [[ $default_pod = $a ]]; then echo "default"; else echo $a; fi; done)
+ set $(for a in "$@"; do echo $a; done)
fi
case "$(basename $0)" in
debug)
if [[ -z $1 ]]; then