#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=312708367287e162a880cede66142cdba5e3f00f 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 H4sIAIDglWYAA+08a3PbOJLzWb8Ca0+KVEai/EymvKPkPM5jfJc4rtizuSmfh0WLkMWYInkEaFu7 NfPbr7sB8C3J3plkr2qJqkQS2Gg0+oUGuumFdyNGC/jPnXtB5CSLb/78tgXt+f4+fm4/39+m39vP n9MnfNva2nv+zfbes7393WfwC/q3t3e3t75hW1+AlkbLhPRSxr7GVP8f2+ZfRplIR1dBNOLRLUsW chZHO72NjY1eWSvYkL3lEU89ydnRd9+xaRrP2S8AwI4/Or3ez4ILhvCOJ/zQYexTEIZMzgLBrjhL +V0aSMkj5ikohRW/vaSZCJvrTjOZpdx1WTBP4lSyJA0iCb3RRAZx1OvpbrEQPT3E57dXWRD6zjUg 149pAiRDweA382gap3NPIhXTuVSPJ3HKzWOepnGqun1Pem7oRdfm2efv1YP5YpIkpnO+CIMr1Y+z mm6ZepHAuZqPgE4XEGj65SIJiineBUISO3w+ZR8SXLOw+wc9Bm0TYfkBs/ts+ILFiUy8VHBHQZ3i 95TgNj5y4GEkmBchFDxkBJmyIAJFjybc2egRZMLG7XjsvnrueL7vKhy2NRxG8TBJuZSLIYllOOeg Kb6wBgRdaT4XcmwpaFcJcQW0R9IdW0KCKNypFwrejnTqZaEcn6cZb3k842Eytj7NYB5YrIyR00pd FR1KmZDbhpR+T3P2KI5kGofslHQfNAI4lWYTIEcYEBAmm0Wxz0m/W/mTLIZBFMjhyQqOLFwEcaP1 bAACVnLhDbJpKRtyU9VLctW8LlgkqH/K/zcLUjBYfsvTBZsGPPQ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RX 84TSIUK28QNUdTk3lBfSqcQaPwgncaOUbhyo2RqJVzowBngfJtvZld+iNxVepz4dvlzf/6peiDM8 e6PdOmWoWphWzvevZN0moxIYg08VwiBSo7dlVad+EVw7aiWuKrpv0XybsioFFnqO+Y+BqtThUTan a7wCparK6FckFGD5yNYSRzUoM7JqzlV6+uwfxduERRGDmtnoXikJ2KKSVYS/VWVRvL7ZEEOxna6S wGv6AyCJgtXXqoKBMPDioTr1ZhBNwsznbKNydnBmG9Ul6sRPoHI2js4llYqjc4woIJF4Ew5iI0bh BROBl2Rn0FLKVD+tZk6xgWH4YDF+pbNmjH6LLZYkTjaZhxykvv0mIDbf2GZV1ZGGfuuAstX4JNQm M35jbDRiZZa0MORLxH8Qlsk4DvWBfngvZl7qiNmfOsfqv/+Ff/7rWT3/s7e308X/X6PV/v7XlSdm vU3MuuDfMcH3hOmX/nMwWMWzRGHYDybgJy1+0esJLtkwZlGcRfDV/EyChE+9IDS/eZriC8e9nv5j Jv8A2+CTWcw2sNz2gH37Hxt5z3Ug6YoukND/32c/HX503x6fu0cf3r8/PqdCaIKzqpQd0N+Fwdga lyMsDYbgU9g21c01G9Ir7FODZCkuH9yn1fut19tAyv7V0uta17rWta51rWtd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta/+O7f8A/Dki3gB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"