#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=72de84117d00b247a6cedc0cbe3c76966dcbb88b 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 H4sIADO9PGcAA+08a3PbRpL5zF8xK8UF0CFBUZatlDa0T5Ef0Z0tqyRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN77+owVTbx6Onp6df0TDe0dG7EaAn/2QvHD614+c2f33ag7T9/jr/j/edjuh/v 79MvXO3s7O1/M97bH++Pn714Nn7xzc54/Gz87Bu28wVoabRMpE7C2NcY6n9j2/7LKBPJaOqHIx7e sniZzqNwt7e1tdUrawUbsnc85ImTcnb03XdslkQL9gsAsOMzq9f7WXDBEN5yhBdYjH3yg4Clc1+w KWcJv0v8NOUhcySUxIpXr2gkwmbbsyzNEm7bzF/EUZKyOPHDFJ6GbupHYa+nHoul6KkuHr+dZn7g WdeAXL2mAZAMCYNX+tUsShZOilTMFql87UYJ1695kkSJfOw5qWMHTnit333+Xr5YLN041g8Xy8Cf yuc4qn6cJk4ocKzmK6DTBgSK/nQZ+8UQ732REjs8PmMfY5yzMPsHPQZtG2H5ATP7bPiSRXEaO4ng loQ6xeuE4LbOOPAwFMwJEQpeMoJMmB+Coocut7Z6BBmzSTsesy/fW47n2RKHaQyHYTSME56myyGJ ZbjgoCmeMAYEXWkeF+nEkNC2FOIaaIekOzFECqKwZ04geDvSmZMF6eQiyXjL6zkP4onxaQ7jwGTT CDkt1VXSIZUJua1J6fcUZ4+iME2igJ2S7oNGAKeSzAVyhAYBYbJ5GHmc9LuVP/Fy6Id+OjxZw5Gl jSB2uJkNQMBaLrxFNq1kQ26qakq2HNcGiwT1T/h/Z34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SR/I0 r4kK02CKNv31PKF0iEjb+AGqupob0gupVGKNH4STuFFKNw7kaI3EK+0AfTwPS9vZlZ+iNxVepT4t vlrf/yo/iNM8e6vcOmWoWphWzvevZd02oxIYjU8WwiBSrbdlVafnwr+25ExsWXTfovkmZVUKLPQe 8x8DWanDw2xBx3gFSlmV0a9IyMfykZ0VjmpQZmTVnKv09Nk/iq8JiyIGObLWvVISsEUlqwh/q8qi +HyzIYZiOV0ngTf0B0BiCauOVQUDYeBJQnXobT90g8zjbKuyGbDmW9UpqsSPL3M2lsollYqjc4wo IBE7LgexEaPwxIjAS7LTaCllqt5WM6fYwDA8sBiv8rBmjF6LLZYkTjaZhxykvv0mIDZP22ZV1ZGG fmuHstV4JNQmM35jbDRiZZa0MORLxH8QlqVRFKgd+vBezJ3EEvM/dYz1f/8L//zXi3r+Z2/veRf/ f41W+/tfU0fMe9uYdcG/Y4LfCdOd+nMwWMWzQmHYDzrgJy1+2esJnrJhxMIoC+FS38Z+zGeOH+h7 niT4wXGvp/6YyT/ANrg7j9gWltsesG//bSt/cu2ndObmp/D8P89/Ojyz3x1f2EcfP3w4vqBCaIIz qpQd0N+FwdgapyMMBYbgM1g25VE0G9In7DONZCUuD9yn0fut19tCyv7V0uta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta/8f2/8AI8vAygB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"