From 9c71eb9a29db75fcc1e6376e32a96ea8cf07006a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 27 May 2022 13:17:47 -0400 Subject: [PATCH] cleaning updates seeing if we can tie off the wrapdoze bleeder. --- scripts/generator/wrapdoze.sh | 8 ++++++++ scripts/text/new_sig.pl | 11 ++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/scripts/generator/wrapdoze.sh b/scripts/generator/wrapdoze.sh index d38b432b..b368a6cf 100644 --- a/scripts/generator/wrapdoze.sh +++ b/scripts/generator/wrapdoze.sh @@ -1,5 +1,13 @@ #!/bin/bash +eval "$@" + +exit $? + + +#old below, we hope. + + source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" #hmmm: make this support multiple vars as parameters. diff --git a/scripts/text/new_sig.pl b/scripts/text/new_sig.pl index d622893d..fb84e711 100644 --- a/scripts/text/new_sig.pl +++ b/scripts/text/new_sig.pl @@ -31,9 +31,14 @@ print FILE "\n"; close(FILE); 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."; -open(FILE, ">>" . $temp_filename) || die "couldn't open $temp_filename for writing."; +$app_path = "$bindir/nechung"; +if (-e $app_path) { + system("$app_path >>$temp_filename"); + open(FILE, ">>" . $temp_filename) || die "couldn't open $temp_filename for writing."; +} else { + open(FILE, ">>" . $temp_filename) || die "couldn't open $temp_filename for writing."; + print FILE "nechung oracle program (NOP) could not be found.\n"; +} print FILE "\n"; print FILE "_____________ not necessarily my opinions, not necessarily not. _____________\n"; close(FILE); -- 2.34.1