better handling of dir tests
authorChris Koeritz <fred@gruntose.com>
Tue, 20 Mar 2018 21:31:38 +0000 (17:31 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 20 Mar 2018 21:31:38 +0000 (17:31 -0400)
commitc70cef0f335b09a31133a97b0ab10de845a993e3
treef3de2b162ce91217ee5935b20e133cd0f75f326e
parentce8b4175ac8be3495fe0e75d3d86cadb3b82dd25
better handling of dir tests

this adds handling of bad returns from the find_apps_folder and test_apps_folder methods.  previously we were relying on them to bail out with an exit, but cannot do that when using them within shell aliases in same shell.  we need them to just return their status, and now any place using them checks the status.  where appropriate this causes that outer shell to exit, but now the switchto macro will not bail out if the user chooses quit.
scripts/site_avenger/avcoreup.sh
scripts/site_avenger/powerup.sh
scripts/site_avenger/shared_site_mgr.sh
scripts/site_avenger/sitepush.sh
scripts/site_avenger/siteup.sh
scripts/site_avenger/standup.sh
scripts/site_avenger/teardown.sh