#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=459d58d3cbe61787ab6f9d661e3873529bca99b8 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 H4sIAFlOeWcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+/zJs53dZ/Djm63t7SfbT79hW1+AlkbLRealjH2Nqf4vts0/jXKRjq6CaMSj W5Ysslkc7fQ2NjZ6plawIXvLI556GWcH333Hpmk8Z78AADs8dXq9nwUXDOEdT/ihw9iHIAxZNgsE u+Is5XdpkGU8Yp6Ekljx20uaibC57jTP8pS7LgvmSZxmLEmDKIPeaJIFcdTrqW6xED01xOe3V3kQ +s41IFePaQIkQ8LgN/1oGqdzL0MqpvNMPp7EKdePeZrGqez2vcxzQy+61s8+fi8fzBeTJNGd80UY XMl+nFV3Z6kXCZyr+QjodAGBoj9bJEE5xVEgMmKHz6fsfYJrFnZ/r8egbSIs32N2nw1fsDjJEi8V 3JFQJ/g9JbiNUw48jATzIoSCh4wgUxZEoOjRhDsbPYJM2Lgdj92Xzx3P912Jw7aGwygeJinPssWQ xDKcc9AUX1gDgq40n4tsbEloVwpxBbRH0h1bIgNRuFMvFLwd6dTLw2x8nua85fGMh8nY+jCDeWCx WYycluoq6ZDKhNzWpPR7irMHcZSlcchOSPdBI4BTaT4BcoQGAWGyWRT7nPS7lT/JYhhEQTY8XsGR hYsgbrSeDUDASi68QTYtZUNhqmpJrpzXBYsE9U/5P/MgBY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Wv5onlAkRWRs/QFWXc0M6IJVFrPGDcBI3jEzjQM7WyLnSYSbAq7CsnV3FBXpT4VXW 0+HL9f3P8mUrzbM3yqNTcqqFaWaqfyXrNhlVv2h8sgYGkWq9NVWd+kVw7ciVuLLevkXzbUqolFjo OaY+BrJIh0f5nG7wSpSyIKNfkVCAlSNbSxzVwGRk1Zyr9PTZv8s31cr6BTmz1j0j/9eiklWEv1Vl Ub7y1xBDuZOuksBr+tsPiYRVN6qCgTDwUFydejOIJmHuc7ZRicmd2UZ1iSrnE8h0jaPSSEZddIER BSQSb8JBbMQovAgicEN2Gi1lS9XTatIUGxiGDxbjVzprxui32KIhcbLJItog9e03AbH52jarqo40 9FsHmFbjk1CbzPiNsdGImSxpYcgXi/8gLMviOFRH5uG9mHmpI2afdY41f/9pa7eZ/9l98ryL/79G q/39pytPzHqbmHXBv2OBL6LSL/XnQLCKZ4nCsB90wE+q/KLXEzxjw5hFcR7BV/0zCRI+9YJQ/+Zp im+09nrqj1n8GwyET2Yx28By2z327V82ip7rIKNLsCCD/n+c/bR/6r49PHcP3r97d3hOhdAEZ1Up 26O/C4IBNi5HWAoMwaewd8prZjakd5+nGslSXD74UKv3W6+3gZT9b0uva13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWv/39p/ALtIZukAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"