mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-08-24 06:10:36 +00:00
Use portable shebangs in wrapper scripts (#79)
This is the recommended approach and it's necessary on systems like NixOS. See: https://web.archive.org/web/20220617225709/https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Find the directory of this script
|
||||
dir=${0%/*}
|
||||
|
||||
Reference in New Issue
Block a user