replace another "/bin/bash" with "/usr/bin/env bash" and remove old file

This commit is contained in:
Mechiel Lukkien 2024-02-01 09:03:32 +01:00
parent 5f297ce54c
commit dd540e401a
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View file

@ -1,4 +0,0 @@
#!/bin/sh
# change output to regular filename:linenumber format for easier opening.
arg=$(echo $1 | sed 's,/,\\/,')
exec sed "s/^\([^:]*\): line \([0-9][0-9]*\), \(.*\)\$/${arg}\1:\2: \3/"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
mkdir website/html 2>/dev/null
rm -r website/html/* 2>/dev/null