#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=750f628893ac7e81a656f11dc8746ead37629f6e 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 H4sIAH4adGcAA+08a3PbOJLzWb8Ca0+KVEai/JxMeUfJeZzHeDdxXLZnc1M+D4sWIYsxRfII0rZ2 a+a3X3cDIMGHJGcnyV3VEVWJJLDRaPQLDXTTC+9WjBbwnzv3gshJFt98/rYF7dn+Pn5uP9vfpt87 W1v0iY+ebX3/zfbes939re39rd3vv9na3t7d2v6GbX0BWhotF5mXMvY1pvq/2Db/MspFOroOohGP 7liyyGZxtNPb2NjomVrBhuwNj3jqZZwdffcdm6bxnP0KAOz4zOn1fhFcMIR3POGHDmMfgjBk2SwQ 7JqzlN+nQZbxiHkSSmLFby9oJsLmutM8y1PuuiyYJ3GasSQNogx6o0kWxFGvp7rFQvTUEJ/fXedB 6Ds3gFw9pgmQDAmD3/SjaZzOvQypmM4z+XgSp1w/5mkap7Lb9zLPDb3oRj/7+IN8MF9MkkR3zhdh cC37cVbdnaVeJHCu5iOg0wUEiv5skQTlFG8DkRE7fD5l7xNcs7D7Bz0GbRNh+QGz+2z4nMVJlnip 4I6EOsXvKcFtnHHgYSSYFyEUPGQEmbIgAkWPJtzZ6BFkwsbteOy+fO54vu9KHLY1HEbxMEl5li2G JJbhnIOm+MIaEHSl+VxkY0tCu1KIK6A9ku7YEhmIwp16oeDtSKdeHmbjizTnLY9nPEzG1ocZzAOL zWLktFRXSYdUJuS2JqXfU5w9iqMsjUN2SroPGgGcSvMJkCM0CAiTzaLY56TfrfxJFsMgCrLhyQqO LFwEcaP1bAACVnLhNbJpKRsKU1VLcuW8Llgk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fojDadFfxRekqEuJyVk7SKgFBANcoL+p4rC4EiR 4bVRYRpM0Va/mieUCRFZGz9AVZdzQzoglUWs8YNwEjeMTONAztbIudJhJsCrsKydXcUFelPhVdbT 4cv1/a/yZSvNs9fKo1NyqoVpZqp/Jes2GVW/aHyyBgaRar01VZ36RXDjyJW4st6+RfNtSqiUWOg5 pj4GskiHR/mcbvBKlLIgo1+RUICVI1tLHNXAZGTVnKv09Nm/yjfVyvoFObPWPSP/16KSVYS/V2VR vvLXEEO5k66SwCv62w+JhFU3qoKBMPBQXJ16M4gmYe5ztlGJyZ3ZRnWJKucTyHSNo9JIRl10gREF JBJvwkFsxCi8CCJwQ3YaLWVL1dNq0hQbGIYPFuNXOmvG6LfYoiFxsski2iD17TcBsfnaNquqjjT0 WweYVuOTUJvM+J2x0YiZLGlhyBeL/yAsy+I4VEfm4YOYeakjZp91jjV//2lrr5n/2dvZ7eL/r9Fq f//p2hOz3iZmXfDvWOCLqPRL/TkQrOJZojDsRx3wkyo/7/UEz9gwZlGcR/BV/0yChE+9INS/eZri G629nvpjFv8CA+GTWcw2sNz2gH37HxtFz02Q0SVYkEH/f57/fHjmvjm+cI/ev3t3fEGF0ARnVSk7 oL8LggE2LkdYCgzBp7B3ymtmNqR3n6cayVJcPvhQq/d7r7eBlP1vS69rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta//f2v8ABv3wlgB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"