summarylogtreecommitdiffstats
path: root/wapm.sh
diff options
context:
space:
mode:
authorkhai96_2019-04-24 01:48:39 +0700
committerkhai96_2019-04-24 01:48:39 +0700
commitddc4d7833971fd696aeabf977ebccc01ea4bc3fa (patch)
tree46e1fb256dbe71df9c6a2461da37a6673fd7ec82 /wapm.sh
parent54febbcba2cd2f13d3037b3c673e4585abc53f81 (diff)
downloadaur-ddc4d7833971fd696aeabf977ebccc01ea4bc3fa.tar.gz
create wapm.sh and use it as wapm
Diffstat (limited to 'wapm.sh')
-rwxr-xr-xwapm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/wapm.sh b/wapm.sh
new file mode 100755
index 000000000000..2cd059ebd16b
--- /dev/null
+++ b/wapm.sh
@@ -0,0 +1,4 @@
+#! /usr/bin/env bash
+export WASMER_DIR="${WASMER_DIR:-$HOME/.wasmer}"
+export WASMER_CACHE_DIR="${WASMER_CACHE_DIR:-$WASMER_DIR/cache}"
+exec wapm.bin $@