Skip to content

Commit

Permalink
Dynamically get path to bash
Browse files Browse the repository at this point in the history
bash is not /bin/bash on some systems, especially BSD OSes
  • Loading branch information
mikhailnov committed Dec 18, 2018
1 parent 009fc0b commit 5527442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bashlib.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!@BASH@

# Author: darren chamberlain <[email protected]>
# Co-Author: Paul Bournival <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ bashlib_version=0.5

AC_INIT(bashlib.in)

AC_PATH_PROG(BASH, bash, "")
AC_PATH_PROG(AWK, awk, "")
AC_PATH_PROG(CAT, cat, "")
AC_PATH_PROG(CUT, cut, "")
Expand Down

0 comments on commit 5527442

Please sign in to comment.