X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ftext%2Fnew_sig.pl;h=d622893df325590b07ef6478e7854c2d7295bd04;hb=f784ba54b77cfeee2b1840e7b30dc1ac689d4dde;hp=82b2e98a5db78ed8e02ff3ac11eeb2acd674fab1;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/text/new_sig.pl b/scripts/text/new_sig.pl index 82b2e98a..d622893d 100644 --- a/scripts/text/new_sig.pl +++ b/scripts/text/new_sig.pl @@ -19,7 +19,8 @@ ############################################################################### require "filename_helper.pl"; -require "importenv.pl"; + +use Env qw(HOME TMP); # creates a new signature file for outgoing email. local($temp_filename) = "$TMP/zz_signate"; @@ -28,7 +29,7 @@ open(FILE, ">" . $temp_filename) || die "couldn't open $temp_filename for writin print FILE "_______ chosen by the Nechung Oracle Program [ http://gruntose.com/ ] _______\n"; print FILE "\n"; close(FILE); -local($bindir) = $ENV{'BINDIR'}; +local($bindir) = $ENV{'FEISTY_MEOW_BINARIES'}; $bindir = &sanitize_name($bindir); system("$bindir/nechung >>$temp_filename"); ###always hits this. nechung gives an error? || die "couldn't run nechung.";