« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/acme/E8
-rwxr-xr-xscripts/acme/acme-shell3
-rw-r--r--scripts/acme_dynamic/readme.txt2
3 files changed, 13 insertions, 0 deletions
diff --git a/scripts/acme/E b/scripts/acme/E
new file mode 100755
index 0000000..7d79f0c
--- /dev/null
+++ b/scripts/acme/E
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+stat=`stat -f "%m" "$1" 2>&1`
+B "$@"
+while sleep 0.2s; do
+    nstat=`stat -f "%m" "$1" 2>&1`
+    if [ "x$stat" != "x$nstat" ]; then exit; fi
+done
diff --git a/scripts/acme/acme-shell b/scripts/acme/acme-shell
new file mode 100755
index 0000000..a61c968
--- /dev/null
+++ b/scripts/acme/acme-shell
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+ACME=1 zsh "$@"
diff --git a/scripts/acme_dynamic/readme.txt b/scripts/acme_dynamic/readme.txt
new file mode 100644
index 0000000..0c1c9dc
--- /dev/null
+++ b/scripts/acme_dynamic/readme.txt
@@ -0,0 +1,2 @@
+Binary scripts automatically prepared or linked for access within ACME.
+See device/acme_pre for details.
\ No newline at end of file