baev / allure-cli-depricated

Allure Command Line Tool
Other
20 stars 7 forks source link

#!/usr/bin/env bash instead of #!/bin/bash in command line tool #48

Open aleksmt opened 7 years ago

aleksmt commented 7 years ago

Hello contributors of allure! There is a issue with shebang line in allure cli script located here https://github.com/allure-framework/allure-cli/blob/master/src/main/scripts/allure

I propose to use #!/usr/bin/env bash here, because in different systems bash location could be in another place (especially for FreeBSD) `[freebsd.local /bin]# which bash /usr/local/bin/bash

[freebsd.local /bin]# /bin/bash /bin/bash: Command not found.`

vania-pooh commented 7 years ago

Any PR is welcome. :)