tools: Use env in shebangs

Having perl and bash in /usr/bin/ is less common than having them on PATH
(e.g. Nix does not have them there).
This commit is contained in:
Jan Tojnar 2022-02-25 16:07:37 +01:00 committed by Jehan
parent 7fc963decb
commit 3279bb3351
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copy tests resources
for dir in files gimpdir gimpdir-empty; do

View File

@ -1,4 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
use warnings;
# This is gimp-mkenums, a perl script based on glib-mkenums.
# It can be used just like glib-mkenums but offers one extra