#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=af8d85ad365a8f6796aaa559f8ae12249911f09b name=$(basename $0) # e.g. hello-xshar.xshar default_dir=/tmp/$name.$$ # User can override this, and then _build/oils.sh can use SKIP_REBUILD to make # it faster. Multiple runs without compiling. export XSHAR_DIR=${XSHAR_DIR:-$default_dir} change_dir() { mkdir -p "$XSHAR_DIR" cd "$XSHAR_DIR" } extract_data() { base64 -d <<'XSHAR_DATA' | tar -x -z H4sIADe3oWYAA+08/XPbNrL9WX8Fzm6GVCpR/kqT0VXJc52P+i5xPLF7fR0/l0OTkMWYIvkIyrbu pv3b3+4CIAmSkpxrk3tzR8zEksjFYrFf2F0AWXo3YpRnXiymSTZ30uVXf3zbgfbtwQF+7j59sku/ d58+pU/4drD3ZP+r3YNvn+zsQ3u6/9XO7u4+gLGdz0BLoy1E7mWMfYmh/j+2ra2tXlX8bMjyRRaz WTJPrnnMk4VgcRg9czwRRCzjacYFj/MwiVkY5wmb8ZxnGrK3BG2qQXoI28NhplkyZ647XcAA3HVZ OE+TLGdpBojgaewTpAIL+O3VIowCB1A7SIBLaFWf+NaLFnygPt3yW97WHakyutvvkmARQa9TID3z 5gM2TwLoMy2+uPmgxx7SbvJlCojoAzoxkc/VX/x1w+/T7MG4jmPocp7c8HjAzsLr2ENGDdiJN+fn gL6veDNf+mnqzJdReKUnFCXXA5Z71+IuzP2ZggOSwvhag/ieAOxvQ5H3ei6bYJderwdTZe/ABL7n Z8v5VRLZyMf+mOjdRgx8zGzN2z4bPoepZfQ2nBLPHRjV7rM/TQpZOBLTuJhz5oWCs0MheIYSfpVl SWZbr+5T7uc8YBJ8wK6TnD0SFntEmPrUPeOkjEi7osLR4ATkCGMOOLvNM0CoC/3kcsNkEPjBU0Hg B09EAstphDmf66mca2sEtNnm2SgV6xHIj6cuvmRyAvQINGJWqobExzyBpPByYsAAfGAX8wZd7I8N tVWIq1MghVVj9g3gKPEBlnTZtlIvn1kDZvmzRXwDX3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KdYOBHK1x8YISxhDrYXk7u4pd iKbCq6sPDl+t73+WGyKaZ6+VW6cT6i1Mq973Wcu6bUZX4DQ+eREOkWq9rao6PRfhtSNn4sr/dKNF 8206VV1iofd4/nkgb+rxeDGnMl6JUt7K6hsSCvH62M4KRzWoMtI0Z5OePvtHuZtUXmKSI2vdq1wC aFFJE+GvpizK7buGGMrldJ0EXtEBsFTCqrKqYCAMLDyYQ2+HsR8tAs62jNzBmW2ZU1QHfEJ5ZttR R2gq/zlCgREFJFLP5yA2YhQWmAi8IjuNlq5MqLfmzQlsYBgBWExgPKwZY9BiixWJk00WIQepb78J iC3QtmmqOtLQb+1QtZqAhNpkxq+MjUasypIWhnyO+I/if30+8DMlABvif2z18987T77t4v8v0SAs z5MkUgWd4b2YeZkjZn/oGOvP/+Px/2/r+38HB/ud/L9Eq53/v/LErLeNu254jhHPCdAvdRwUD5us UBj2nU74yIs97/UEz9kwYXGyiOGr/pmGKZ96YaR/8yzDAwe9njrM+A/wjdyfJWwLT82O2df/tVU8 uQ5zKtGGOTz/77MfDj+4b47P3aP3794dn9OxdoKzTMrGdC4UcyucjrAUGIJPIWySOxdsSEdYphrJ SlwBLJ9W79debwsp+1dLr2td61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWu/Se2/wOQXkVxAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"