#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e263b66d1a7a7ceb8a993fa1ba81788f9cbaa893 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 H4sIAECpI2cAA+08/XPbtpL9WX8Fnt0MqVSibMeOO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtr+3h5/b+3vb9Ht7 f58+4dvW1u7+N9u7+9tb+zu7L15A//b2i+2db9jWF6Cl0TKROgljX2Oq/41t8y+jTCSjiR+OeHjH 4kU6i8Kd3sbGRq+sFWzI3vOQJ07K2dF337FpEs3ZLwDAjj9avd7PgguG8JYjvMBi7JMfBCyd+YJN OEv4feKnKQ+ZI6EkVvz2mmYibLY9zdIs4bbN/HkcJSmLEz9MoTd0Uz8Kez3VLRaip4Z4/G6S+YFn 3QBy9ZgmQDIkDH7Tj6ZRMndSpGI6T+VjN0q4fsyTJEpkt+ekjh044Y1+9vl7+WC+cONYd84XgT+R /Tir7k4TJxQ4V/MR0GkDAkV/uoj9YooTX6TEDo9P2VmMaxZm/6DHoG0iLD9gZp8NX7EoTmMnEdyS UOf4PSG4jY8ceBgK5oQIBQ8ZQSbMD0HRQ5dbGz2CjNm4HY/Zl88tx/NsicM0hsMwGsYJT9PFkMQy nHPQFE8YA4KuNI+LdGxIaFsKcQW0Q9IdGyIFUdhTJxC8HenUyYJ0fJlkvOXxjAfx2Pg0g3lgsWmE nJbqKumQyoTc1qT0e4qzR1GYJlHAzkn3QSOAU0nmAjlCg4Aw2SyMPE763cqfeDH0Qz8dnq7gyMJG EDtczwYgYCUX3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S36o/CSDHVNKSFrFwHlgWiQ5fefKooSR/I0r4kK02CK Nv3VPKF0iEjb+AGqupwb0gupVGKNH4STuFFKNw7kbI3EKx0MfbwPS9vZld+iNxVepT4tvlzf/ypf iNM8e6fcOmWoWphWzvevZN0moxIYjU8WwiBSrbdlVad+4d9YciW2LLpv0XyTsioFFnqO+Y+BrNTh YTana7wCpazK6Fck5GP5yNYSRzUoM7JqzlV6+uwfxduERRGDnFnrXikJ2KKSVYS/VWVRvL7ZEEOx na6SwFv6AyCxhFXXqoKBMPCCoTr1ph+6QeZxtlE5I1izjeoSVeLHlzkbS+WSSsXROUYUkIgdl4PY iFF4kUTgJdlptJQyVU+rmVNsYBgeWIxX6awZo9diiyWJk03mIQepb78JiM3TtllVdaSh3zqgbDUe CbXJjN8YG41YmSUtDPkS8R+EZWkUBergPnwQMyexxOxPnWP13//CP//1sp7/2YXjQhf/f4VW+/tf E0fMepuYdcG/Y4LvCdMv9edgsIpnicKwH3TAT1r8qtcTPGXDiIVRFsJX/TP2Yz51/ED/5kmCLxz3 euqPmfwDbIO7s4htYLntAfv23zbynhs/pas4P4X+/7z46fCj/f740j46+/Dh+JIKoQnOqFJ2QH8X BmNrXI4wFBiCT2HblDfUbEivsE81kqW4PHCfRu+3Xm8DKftXS69rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/bP8DIV46EgB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"