From: thib Date: Sun, 11 Jul 2004 18:10:06 +0000 (+0000) Subject: use program env to handle cases where perl is not in /usr/bin X-Git-Tag: ver2_9_5~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=598fda82292f9586cead0178d35bd4ef14d4e471;p=fcron use program env to handle cases where perl is not in /usr/bin --- diff --git a/script/gen-in.pl b/script/gen-in.pl index ed73abb..b5c340d 100755 --- a/script/gen-in.pl +++ b/script/gen-in.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # - read define assignations in config.h # - read variable assignations in Makefile diff --git a/script/has_usrgrp.pl b/script/has_usrgrp.pl index 96f0e6e..aa30183 100755 --- a/script/has_usrgrp.pl +++ b/script/has_usrgrp.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # call getpwnam() or getgrnam() to check if user or group (given as arg) exists # on the system (getpwnam() and getgrnam() use nsswitch.conf, so it works