Files
swift-mirror/test/Driver/Inputs/print-var.sh
practicalswift e2ddfb00d2 Invoke "/usr/bin/env bash" instead of "/bin/bash".
Prior to this commit:

```
$ git grep '#!/usr/bin/env bash' | wc -l
8
$ git grep '#!/bin/bash' | wc -l
1
```

After to this commit:

```
$ git grep '#!/usr/bin/env bash' | wc -l
9
$ git grep '#!/bin/bash' | wc -l
0
```
2016-01-15 23:10:00 +01:00

4 lines
56 B
Bash
Executable File

#!/usr/bin/env bash
last_arg=${@: -1}
echo ${!last_arg}