Skip to content

Conversation

@mrwacky42
Copy link

In Solaris, 'test -a' does not work in /bin/sh. Convert to 'test -f' to play nice in all universes.

From the man page on Solaris:

-a file                 True if file exists. (Not  available
                         in sh.)

     -a file                 True if file exists. (Not  available
                             in sh.)
ripienaar added a commit that referenced this pull request Jul 12, 2011
Fix for /bin/sh on Solaris.
@ripienaar ripienaar merged commit 4a08cd4 into puppetlabs:master Jul 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants