Skip to content

Conversation

@vbatts
Copy link
Member

@vbatts vbatts commented May 25, 2016

#454

Signed-off-by: Vincent Batts vbatts@hashbangbash.com

opencontainers#454

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
@crosbymichael
Copy link
Member

LGTM

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented May 25, 2016

LGTM

@mrunalp mrunalp merged commit e97a303 into opencontainers:master May 25, 2016
@vbatts vbatts deleted the makefile_set_shell branch June 6, 2016 14:59
wking added a commit to wking/opencontainer-runtime-spec that referenced this pull request Aug 26, 2016
With dash 0.5.7:

  # make docs
  /bin/sh: 1: test: 1.3.3: unexpected operator
  /bin/sh: 1: test: 1.3.3: unexpected operator
  /bin/sh: 1: test: 1.3.3: unexpected operator
  Makefile:47: *** cannot build output//oci-runtime-spec.pdf without either pandoc or docker.  Stop.
  # command -V test
  test is a shell builtin

POSIX defines '=' for string comparison [1]; the '==' form is a
Bashism.

SHELL was added in f3fdf03 (Makefile: prefer bash, 2016-05-25, opencontainers#455)
to avoid these "unexpected operator" errors, but there's no reason to
require Bash when we can make the comparison's POSIX compliant.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

Signed-off-by: W. Trevor King <wking@tremily.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants