From 0e5ce4bad6cac79633391e21b3fdf9d74564678e Mon Sep 17 00:00:00 2001 From: Heechul Ryu Date: Mon, 24 Apr 2023 08:17:39 -0700 Subject: [PATCH] command-not-found: make script portable Without `/usr/bin/env -S`, this breaks with bash on Darwin --- modules/programs/command-not-found/command-not-found.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/command-not-found/command-not-found.pl b/modules/programs/command-not-found/command-not-found.pl index 220d057b7f4f..34e8f1413fd2 100644 --- a/modules/programs/command-not-found/command-not-found.pl +++ b/modules/programs/command-not-found/command-not-found.pl @@ -1,4 +1,4 @@ -#! @perl@/bin/perl -w +#!/usr/bin/env -S @perl@/bin/perl -w use strict; use DBI;