History log of /seL4-test-master/tools/seL4/misc/is-valid-shell-script
Revision Date Author Comments
# 9f904ed2 06-Mar-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

convert license headers to SPDX

Includes license review of 3rd-party files, adding missing upstream
headers, and moving the UNSW OZPLB license into its own file rather
than replicating it in the header.


# 7b058f30 04-Jun-2019 Simon Shields <simon.shields@data61.csiro.au>

style: is-valid-shell-script: skip filtered files

If a file is filtered by .stylefilter, that means it's probably not
owned by us - and so we shouldn't check the validity of it if it is
actually a shell script.


# 4ec6e367 07-Apr-2019 G. Branden Robinson <Branden.Robinson@data61.csiro.au>

Rename "posix" -> "valid"

The original plan was to have two scripts, one which checked for
POSIX-ness and one which ran the internal syntax checker.

But...

The shell function I wrote to tell if the operand was a shell script
dominated the file and I didn't want to repeat it or source it in.

So the script performs both tests.