From d0d686b472609e018a737d4e7ad0d800f339f333 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 9 Sep 2022 19:18:56 +0200 Subject: [PATCH] Add shebang-patcher script --- scripts/.local/share/scripts/shebang-patcher | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/.local/share/scripts/shebang-patcher diff --git a/scripts/.local/share/scripts/shebang-patcher b/scripts/.local/share/scripts/shebang-patcher new file mode 100755 index 0000000..e7661b8 --- /dev/null +++ b/scripts/.local/share/scripts/shebang-patcher @@ -0,0 +1,3 @@ +#!/bin/sh + +sed "s/#!\/bin\/bash/#!\/usr\/bin\/env bash/" -i "$1"