#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e58d1330641186c81b08faa17ad125b0ef05adb0 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 H4sIAOejdmcAA+08a3PbOJL7Wb8Ca0+KVEai/Eoy5R0l53Ee4zvHcdmezU35PCxahCzGFMkjSNva rZnfft0NgAQfkpydJHdVR1QlksBGo9EvNNBNL7xbMVrAf+7cCyInWfzly7ctaC+ePcPP7RfPtun3 ztYWfeKjF1vP/7K992L32bOd7efwfWt7exc+2NZXoKXRcpF5KWPfYqr/i23zr6NcpKPrIBrx6I4l i2wWRzu9jY2NnqkVbMje8YinXsbZ4fffs2kaz9mvAMCOzpxe7xfBBUN4xxN+6DD2MQhDls0Cwa45 S/l9GmQZj5gnoSRW/PaKZiJsrjvNszzlrsuCeRKnGUvSIMqgN5pkQRz1eqpbLERPDfH53XUehL5z A8jVY5oAyZAw+E0/msbp3MuQiuk8k48nccr1Y56mcSq7fS/z3NCLbvSzTz/IB/PFJEl053wRBtey H2fV3VnqRQLnaj4COl1AoOjPFklQTnEciIzY4fMp+5DgmoXd3+8xaJsIy/eZ3WfDlyxOssRLBXck 1Cl+Twlu44wDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P35XPH831X4rCt4TCKh0nKs2wxJLEM 5xw0xRfWgKArzeciG1sS2pVCXAHtkXTHlshAFO7UCwVvRzr18jAbX6Q5b3k842Eytj7OYB5YbBYj p6W6SjqkMiG3NSn9nuLsYRxlaRyyU9J90AjgVJpPgByhQUCYbBbFPif9buVPshgGUZANT1ZwZOEi iButZwMQsJILb5FNS9lQmKpakivndcEiQf1T/t95kILB8jueLtg04KFfcuNixvUsA3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U7Q/1xRGBwpMrw2 KkyDKdrqV/OEMiEia+MHqOpybkgHpLKINX4QTuKGkWkcyNkaOVc6zAR4FZa1s6u4QG8qvMp6Ony5 vv9NvmylefZWeXRKTrUwzUz1r2TdJqPqF41P1sAgUq23pqpTvwhuHLkSV9bbt2i+TQmVEgs9x9TH QBbp8Cif0w1eiVIWZPQrEgqwcmRriaMamIysmnOVnj77Z/mmWlm/IGfWumfk/1pUsorw96osylf+ GmIod9JVEnhDf/shkbDqRlUwEAYeiqtTbwbRJMx9zjYqMbkz26guUeV8ApmucVQayaiLLjCigETi TTiIjRiFF0EEbshOo6VsqXpaTZpiA8PwwWL8SmfNGP0WWzQkTjZZRBukvv0mIDZf22ZV1ZGGfusA 02p8EmqTGb8zNhoxkyUtDPlq8R+EZVkch+rIPHwQMy91xOyLzrHm7z9t7TXzP3u7W138/y1a7e8/ XXti1tvErAv+HQt8EZV+qT8HglU8SxSG/agDflLll72e4BkbxiyK8wi+6p9JkPCpF4T6N09TfKO1 11N/zOKfYCB8MovZBpbb7rPv/m2j6LkJMroECzLo/8/znw/O3HdHF+7hh/fvjy6oEJrgrCpl+/R3 QTDAxuUIS4Eh+BT2TnnNzIb07vNUI1mKywcfavV+7/U2kLL/bel1rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWude3/W/sfuVqu8AB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"