packer-cn/scripts
Marco Molteni 1a248e4868
Fix: build.sh: give validateToolPresence a chance to inform the user (#9776)
Since the build.sh script runs with `set -e` (exit _immediately_ in case
of error), we cannot first call the `which` command and, on a susequent
line, check its exit status with $?, it would be too late. Instead, we
idiomatically check on the same line of the invocation of `which`.

From the confusing:

    $ make bin
    ==> Checking for necessary tools...
    make: *** [bin] Error 1

To the informative:

    $ make bin
    ==> Checking for necessary tools...
    realpath is not on the path. Exiting...
    make: *** [bin] Error 1
2020-08-16 21:37:12 -04:00
..
build.ps1
build.sh Fix: build.sh: give validateToolPresence a chance to inform the user (#9776) 2020-08-16 21:37:12 -04:00
codesign_example.sh Cut version 1.5.4 2020-02-14 16:14:01 -08:00
dist.sh Cut version 1.5.4 2020-02-14 16:14:01 -08:00
generate-plugins.go scripts/generate-plugins.go: programatically gofmt the file before outputing it to avoid having to do that later on 2020-03-17 11:56:32 +01:00
off_gopath.sh
prepare_changelog.sh ignore website label to prepare_changelog.sh (#9422) 2020-06-15 11:25:45 +02:00
sign.sh Cut version 1.5.4 2020-02-14 16:14:01 -08:00
sort-md-list.py
vagrant-freebsd-priv-config.sh
vagrant-freebsd-unpriv-bootstrap.sh
vagrant-linux-priv-config.sh
vagrant-linux-priv-go.sh
vagrant-linux-unpriv-bootstrap.sh