#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=314b7eecd495b0097a23cb9ca33a97855b6a0bf8 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 H4sIAEh1O2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3dt+9Wpv58Xui2+2trdfbO99w7a+AC2NlonUSRj7GlP9b2ybfxllIhlN/HDE wzsWL9JZFO70NjY2emWtYEP2gYc8cVLODr/7jk2TaM5+AQB2dG71ej8LLhjCW47wAouxT34QsHTm CzbhLOH3iZ+mPGSOhJJY8dsbmomw2fY0S7OE2zbz53GUpCxO/DCF3tBN/Sjs9VS3WIieGuLxu0nm B551A8jVY5oAyZAw+E0/mkbJ3EmRiuk8lY/dKOH6MU+SKJHdnpM6duCEN/rZ5+/lg/nCjWPdOV8E /kT246y6O02cUOBczUdApw0IFP3pIvaLKY59kRI7PD5lpzGuWZj9/R6DtomwfJ+ZfTZ8zaI4jZ1E cEtCneH3hOA2zjnwMBTMCREKHjKCTJgfgqKHLrc2egQZs3E7HrMvn1uO59kSh2kMh2E0jBOeposh iWU456ApnjAGBF1pHhfp2JDQthTiCmiHpDs2RAqisKdOIHg70qmTBen4Msl4y+MZD+Kx8WkG88Bi 0wg5LdVV0iGVCbmtSen3FGcPozBNooCdke6DRgCnkswFcoQGAWGyWRh5nPS7lT/xYuiHfjo8WcGR hY0gdrieDUDASi68RzYtZUNuqmpJtpzXBosE9U/4f2d+AgbL73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E2FV6lPiy/X97/K F+I0z94rt04ZqhamlfP9K1m3yagERuOThTCIVOttWdWpX/g3llyJLYvuWzTfpKxKgYWeY/5jICt1 eJjN6RqvQCmrMvoVCflYPrK1xFENyoysmnOVnj77R/E2YVHEIGfWuldKAraoZBXhb1VZFK9vNsRQ bKerJPCO/gBILGHVtapgIAy8YKhOvemHbpB5nG1UzgjWbKO6RJX48WXOxlK5pFJxdI4RBSRix+Ug NmIUXiQReEl2Gi2lTNXTauYUGxiGBxbjVTprxui12GJJ4mSTechB6ttvAmLztG1WVR1p6LcOKFuN R0JtMuM3xkYjVmZJC0O+RPwHYVkaRYE6uA8fxMxJLDH7U+dY/fe/8M9/varnf3YBrIv/v0Kr/f2v iSNmvU3MuuDfMcH3hOmX+nMwWMWzRGHYDzrgJy1+3esJnrJhxMIoC+Gr/hn7MZ86fqB/8yTBF457 PfXHTP4BtsHdWcQ2sNx2n337bxt5z42f0lWcn0L/f178dHBufzi6tA9PP348uqRCaIIzqpTt09+F wdgalyMMBYbgU9g25Q01G9Ir7FONZCkuD9yn0fut19tAyv7V0uta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta/8f2/8AW8h03AB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"