aboutsummaryrefslogtreecommitdiffstats
path: root/loadargs
diff options
context:
space:
mode:
Diffstat (limited to 'loadargs')
-rw-r--r--loadargs8
1 files changed, 8 insertions, 0 deletions
diff --git a/loadargs b/loadargs
new file mode 100644
index 0000000..3ec8b0d
--- /dev/null
+++ b/loadargs
@@ -0,0 +1,8 @@
+#/fake/bash
+if [ -r "$1.args" ]; then
+ redo-ifchange "$1.args"
+ mapfile -t args <"$1.args"
+else
+ redo-ifcreate "$1.args"
+ args=()
+fi