Install script uses outdated bash redirect technique #492

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

maxwellhansen commented Aug 13, 2012

Back in the day, when you wanted to redirect both stdout and stderr, you did it like so:

./script > /dev/null 2>&1

The current installation script uses this technique. However, Bash has for some time allowed the code above to be written more elegantly like so:

./script &> /dev/null

I have changed the installation script to utilize this feature.

Contributor

kemitche commented Aug 14, 2012

Merged as 9bfed16

kemitche closed this Aug 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment