#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ac9aa9b54fbbba02bcdeb1a359490e98ee8fdeb6 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 H4sIAHXKJmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799X29t7u3tbOi2+2trdfbO1+w7a+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+A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rqcG9ILqVRijR+Ek7hRSjcO5GyNxCsdDH28D0vb2ZXfojcVXqU+Lb5c3/8q X4jTPHuv3DplqFqYVs73r2TdJqMSGI1PFsIgUq23ZVWnfuHfWHIltiy6b9F8k7IqBRZ6jvmPgazU 4WE2p2u8AqWsyuhXJORj+cjWEkc1KDOyas5VevrsH8XbhEURg5xZ614pCdiiklWEv1VlUby+2RBD sZ2uksA7+gMgsYRV16qCgTDwgqE69aYfukHmcbZROSNYs43qElXix5c5G0vlkkrF0TlGFJCIHZeD 2IhReJFE4CXZabSUMlVPq5lTbGAYHliMV+msGaPXYosliZNN5iEHqW+/CYjN07ZZVXWkod86oGw1 Hgm1yYzfGBuNWJklLQz5EvEfhGVpFAXq4D58EDMnscTsT51j9d//wj//9bKe/9l98bKL/79Gq/39 r4kjZr1NzLrg3zHB94Tpl/pzMFjFs0Rh2A864Cctft3rCZ6yYcTCKAvhq/4Z+zGfOn6gf/MkwReO ez31x0z+AbbB3VnENrDcdp99+28bec+Nn9JVnJ9C/39e/HRwbn84urQPTz9+PLqkQmiCM6qU7dPf hcHYGpcjDAWG4FPYNuUNNRvSK+xTjWQpLg/cp9H7rdfbQMr+1dLrWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWv/H9v/ANjPlVIAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"