cleaning updates
authorChris Koeritz <fred@gruntose.com>
Fri, 27 May 2022 17:17:47 +0000 (13:17 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 27 May 2022 17:17:47 +0000 (13:17 -0400)
seeing if we can tie off the wrapdoze bleeder.

scripts/generator/wrapdoze.sh
scripts/text/new_sig.pl

index d38b432b2c229f414f60249099ff3b8d55c0cbba..b368a6cfb6fcb014caf72e55fb61f7c6dbeecf2b 100644 (file)
@@ -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.
index d622893df325590b07ef6478e7854c2d7295bd04..fb84e7115747e11a32e5d16876c91c0322115893 100644 (file)
@@ -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);