summaryrefslogtreecommitdiff
path: root/homebrew/xmlsh/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/xmlsh/.make.sh-auto')
-rw-r--r--homebrew/xmlsh/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/xmlsh/.make.sh-auto b/homebrew/xmlsh/.make.sh-auto
new file mode 100644
index 000000000..579bffcea
--- /dev/null
+++ b/homebrew/xmlsh/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+rm_rf %w[win32 cygwin]
+libexec.install Dir["*"]
+chmod 0755, "#{libexec}/unix/xmlsh"
+(bin/"xmlsh").write <<~EOS
+#!/bin/bash
+export XMLSH=#{libexec}
+exec #{libexec}/unix/xmlsh "$@"
+EOS