#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=b450511768bc0651fe3c7de325ebbc24975761f3 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 H4sIAHhshWcAA+08a3PbOJL7Wb8Ca0+KVEai/Eoy5R0l53Ee4zvHcdmezU35PCxahCzGFMkjSNva rZnfft0NgAQfkpydJHdVR1QlksBGo9EvNNBNL7xbMVrAf+7cCyInWfzly7ctaC+ePcPP7RfPtun3 ztYWfeKjF1vP/7K992Jve+f5861d6N/e3oXHbOsr0NJouci8lLFvMdX/xbb511Eu0tF1EI14dMeS RTaLo53exsZGz9QKNmTveMRTL+Ps8Pvv2TSN5+xXAGBHZ06v94vggiG84wk/dBj7GIQhy2aBYNec pfw+DbKMR8yTUBIrfntFMxE2153mWZ5y12XBPInTjCVpEGXQG02yII56PdUtFqKnhvj87joPQt+5 AeTqMU2AZEgY/KYfTeN07mVIxXSeyceTOOX6MU/TOJXdvpd5buhFN/rZpx/kg/likiS6c74Ig2vZ j7Pq7iz1IoFzNR8BnS4gUPRniyQopzgOREbs8PmUfUhwzcLu7/cYtE2E5fvM7rPhSxYnWeKlgjsS 6hS/pwS3ccaBh5FgXoRQ8JARZMqCCBQ9mnBno0eQCRu347H78rnj+b4rcdjWcBjFwyTlWbYYkliG cw6a4gtrQNCV5nORjS0J7UohroD2SLpjS2QgCnfqhYK3I516eZiNL9Kctzye8TAZWx9nMA8sNouR 01JdJR1SmZDbmpR+T3H2MI6yNA7ZKek+aARwKs0nQI7QICBMNotin5N+t/InWQyDKMiGJys4snAR xI3WswEIWMmFt8impWwoTFUtyZXzumCRoP4p/+88SMFg+R1PF2wa8NAvuXEx43qWAbufBZM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3pgFQWscYPwkncMDKNAzlbI+dKh5kAr8KydnYVF+hNhVdZT4cv 1/e/yZetNM/eKo9OyakWppmp/pWs22RU/aLxyRoYRKr11lR16hfBjSNX4sp6+xbNtymhUmKh55j6 GMgiHR7lc7rBK1HKgox+RUIBVo5sLXFUA5ORVXOu0tNn/yzfVCvrF+TMWveM/F+LSlYR/l6VRfnK X0MM5U66SgJv6G8/JBJW3agKBsLAQ3F16s0gmoS5z9lGJSZ3ZhvVJaqcTyDTNY5KIxl10QVGFJBI vAkHsRGj8CKIwA3ZabSULVVPq0lTbGAYPliMX+msGaPfYouGxMkmi2iD1LffBMTma9usqjrS0G8d YFqNT0JtMuN3xkYjZrKkhSFfLf6DsCyL41AdmYcPYualjph90TnW/P2nrb1m/mdvZ6eL/79Fq/39 p2tPzHqbmHXBv2OBL6LSL/XnQLCKZ4nCsB91wE+q/LLXEzxjw5hFcR7BV/0zCRI+9YJQ/+Zpim+0 9nrqj1n8EwyET2Yx28By23323b9tFD03QUaXYEEG/f95/vPBmfvu6MI9/PD+/dEFFUITnFWlbJ/+ LggG2LgcYSkwBJ/C3imvmdmQ3n2eaiRLcfngQ63e773eBlL2vy29rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta79f2v/A2nUDIcAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"