From c62da0eda68ec8b827a8cc928f4ec9df85bcc31d Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 26 Apr 2019 14:13:02 +0100 Subject: [PATCH] Don't fail if there's no local config to remove The script has a set -e so don't fail if there's nothing to rm --- scripts/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package.sh b/scripts/package.sh index f2d86ff712..ce7e00c1c5 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -24,7 +24,7 @@ mkdir -p dist cp -r webapp riot-$version # Just in case you have a local config, remove it before packaging -rm riot-$version/config.json +rm riot-$version/config.json || true # if $version looks like semver with leading v, strip it before writing to file if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then