diff options
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index b217d64..b89b5f8 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -23,6 +23,11 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +if [ ! -d bin/ ]; then + printf "No bin/ directory exists. (you haven't built any images)\n" + exit 1 +fi + printf 'Deleting old documentation release archives\n' rm -Rf release/rom/ |