4 echo "Synopsis: $0 appl.air" >&2
8 [ -z "$1" ] && synopsis
10 tmpdir="$(mktemp -d /tmp/adobeair.XXXXXXXXXX)"
17 if [ ! -f "$1" ]; then
18 echo 'Specified application file not found:' "$1" >&2
24 if ! unzip -q "$1" -d "${tmpdir}"; then
25 echo 'Unable to extract AIR application:' "$1" >&2
29 /opt/bin/adl -nodebug "${tmpdir}"/META-INF/AIR/application.xml "${tmpdir}"
32 trap cleanup HUP INT QUIT TERM