From 1ea00c57aa6e713f58d90fd075519d545d47634c Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Thu, 6 Aug 2015 18:01:29 -0700 Subject: [PATCH] Changed to use $FindBin::Script more consistently. --- bin/setbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setbg b/bin/setbg index ac0038d..09311f5 100755 --- a/bin/setbg +++ b/bin/setbg @@ -140,7 +140,7 @@ while () { my $image = escapeHTML ($images[int (rand $#images)]); open my $log, '>', "$ENV{HOME}/.$FindBin::Script" - or error "Unable to open $ENV{HOME}/.setbg for writing - $!", 1; + or error "Unable to open $ENV{HOME}/.$FindBin::Script for writing - $!", 1; display $image, $log; -- 2.17.1