diff options
Diffstat (limited to 'contrib/rpbatch.pl')
-rw-r--r-- | contrib/rpbatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/rpbatch.pl b/contrib/rpbatch.pl index 6fce57f..0f1c50e 100644 --- a/contrib/rpbatch.pl +++ b/contrib/rpbatch.pl @@ -1,9 +1,9 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Copyright (C) 2003 Shawn Betts # Execute a sequence of commands read from stdin. -$ratpoison = $ENV{RATPOISON} or die "Where is ratpoison?"; +$ratpoison = $ENV{RATPOISON} || 'ratpoison'; while (<>) { chomp; |