fix-infrastructure-objects: Don't assume /bin/bash to be present

Unlike /bin/sh, /bin/bash is not mandated by POSIX and is not
present on some platforms (e.g., NixOS). Use the bash in the
user's PATH.
This commit is contained in:
Zhaofeng Li 2020-11-26 19:13:46 -08:00
parent 0528722284
commit 6c83de09ae
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e