rust-bindgen: Resolve "/usr/bin/env bash" to fix usage in Nix build

This commit is contained in:
Christian Kögler
2021-01-21 20:16:58 +01:00
parent afa23b8a4b
commit 23b0a88572
2 changed files with 8 additions and 4 deletions
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!@bash@/bin/bash
sep='--' # whether to add -- before new options
cxx=0 # whether cxx was explicitly requested
lastWasx=0 # whether the last argument passed was -x