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 refresh line endings 2019-05-17 14:58:20 -07:00
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 change installation of pigeon if off gopath 2019-07-01 12:16:50 -07:00
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 comments 2017-06-05 12:56:46 -07:00
vagrant-freebsd-priv-config.sh vagrant: Correct name of vim package 2018-02-02 13:14:13 -06:00
vagrant-freebsd-unpriv-bootstrap.sh build: Allow multi-platform dev with Vagrantfile 2017-11-02 11:00:19 -07:00
vagrant-linux-priv-config.sh scripts: add gcc package for using gco on build 2018-10-31 16:58:07 +03:00
vagrant-linux-priv-go.sh scripts/vagrant: Update Vagrant bootstrapping scripts 2020-01-15 12:42:15 -05:00
vagrant-linux-unpriv-bootstrap.sh scripts/vagrant: Update Vagrant bootstrapping scripts 2020-01-15 12:42:15 -05:00