summarylogtreecommitdiffstats
path: root/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper18
1 files changed, 18 insertions, 0 deletions
diff --git a/wrapper b/wrapper
new file mode 100644
index 000000000000..9304ad39ff89
--- /dev/null
+++ b/wrapper
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+libdir=/usr/lib/ascii-fluid-dynamics-git
+
+files=()
+for arg; do
+ if [ -f "$arg" ]; then
+ files+=("$arg")
+ elif [ -f "$libdir/$arg" ]; then
+ files+=("$libdir/$arg")
+ else
+ echo "Unknown arg: $arg"
+ fi
+done
+
+for file in "${files[@]}"; do
+ "$libdir/endoh1" < "$file"
+done