emf2png: bugfix
authorDan White <dan@whiteaudio.com>
Thu, 6 Mar 2025 16:56:33 +0000 (10:56 -0600)
committerDan White <dan@whiteaudio.com>
Thu, 6 Mar 2025 16:56:33 +0000 (10:56 -0600)
emf2png

diff --git a/emf2png b/emf2png
index 9e6ffe093bd9f33909d7f64954924e5e095ea17e..663a76af97deb2735a19b6b6b4fca85d402e5fff 100755 (executable)
--- a/emf2png
+++ b/emf2png
@@ -3,6 +3,9 @@
 # Convert EMF file (like from LTspice) to PNG file.
 # Leave the new file in the same directory if no second argument
 
+# Requirements:
+# sudo apt install texlive-extra-utils
+
 EMFNAME="$1"
 
 BASENAME=$(basename "$1" .emf)
@@ -37,7 +40,7 @@ function cleanup {
   #echo "Deleted temp working directory $WORK_DIR"
 }
 
-function exiterr {
+function exiterror {
     echo "Something went wrong... exiting." >&2
     exit 1
 }