diff --git a/scripts/packager.sh b/scripts/packager.sh index f7ce245a42403d..742486c2bf6471 100755 --- a/scripts/packager.sh +++ b/scripts/packager.sh @@ -8,6 +8,8 @@ # of patent rights can be found in the PATENTS file in the same directory. THIS_DIR=$(dirname "$0") -source "${THIS_DIR}/.packager.env" +if [ -f "${THIS_DIR}/.packager.env" ]; then + source "${THIS_DIR}/.packager.env" +fi cd "$THIS_DIR/.." node "./local-cli/cli.js" start "$@"