#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=43cc8f2811860c3c48fb3cb4be35b2247a5316aa 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 H4sIAK5bKmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799X2zu7e3t7Wy2+2trdfbL/4hm19AVoaLROpkzD2Nab639g2/zLKRDKa+OGI h3csXqSzKNzpbWxs9MpawYbsAw954qScHX73HZsm0Zz9AgDs6Nzq9X4WXDCEtxzhBRZjn/wgYOnM F2zCWcLvEz9NecgcCSWx4rc3NBNhs+1plmYJt23mz+MoSVmc+GEKvaGb+lHY66lusRA9NcTjd5PM DzzrBpCrxzQBkiFh8Jt+NI2SuZMiFdN5Kh+7UcL1Y54kUSK7PSd17MAJb/Szz9/LB/OFG8e6c74I /Insx1l1d5o4ocC5mo+AThsQKPrTRewXUxz7IiV2eHzKTmNcszD7+z0GbRNh+T4z+2z4mkVxGjuJ 4JaEOsPvCcFtnHPgYSiYEyIUPGQEmTA/BEUPXW5t9AgyZuN2PGZfPrccz7MlDtMYDsNoGCc8TRdD EstwzkFTPGEMCLrSPC7SsSGhbSnEFdAOSXdsiBREYU+dQPB2pFMnC9LxZZLxlsczHsRj49MM5oHF phFyWqqrpEMqE3Jbk9LvKc4eRmGaRAE7I90HjQBOJZkL5AgNAsJkszDyOOl3K3/ixdAP/XR4soIj CxtB7HA9G4CAlVx4j2xayobcVNWSbDmvDRYJ6p/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GX60qQ/lw1boj7SeFv1ReEmGuqaUkLWLgPJANMjy+08VRYkjeZrXRIVp MEWb/mqeUDpEpG38AFVdzg3phVQqscYPwkncKKUbB3K2RuKVDoY+3oel7ezKb9GbCq9SnxZfru9/ lS/EaZ69V26dMlQtTCvn+1eybpNRCYzGJwthEKnW27KqU7/wbyy5ElsW3bdovklZlQILPcf8x0BW 6vAwm9M1XoFSVmX0KxLysXxka4mjGpQZWTXnKj199o/ibcKiiEHOrHWvlARsUckqwt+qsihe32yI odhOV0ngHf0BkFjCqmtVwUAYeMFQnXrTD90g8zjbqJwRrNlGdYkq8ePLnI2lckml4ugcIwpIxI7L QWzEKLxIIvCS7DRaSpmqp9XMKTYwDA8sxqt01ozRa7HFksTJJvOQg9S33wTE5mnbrKo60tBvHVC2 Go+E2mTGb4yNRqzMkhaGfIn4D8KyNIoCdXAfPoiZk1hi9qfOsfrvf+Gf/3pZz//s7u518f/XaLW/ /zVxxKy3iVkX/Dsm+J4w/VJ/DgareJYoDPtBB/ykxa97PcFTNoxYGGUhfNU/Yz/mU8cP9G+eJPjC ca+n/pjJP8A2uDuL2AaW2+6zb/9tI++58VO6ivNT6P/Pi58Ozu0PR5f24enHj0eXVAhNcEaVsn36 uzAYW+NyhKHAEHwK26a8oWZDeoV9qpEsxeWB+zR6v/V6G0jZv1p6Xeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnXt/2P7H6S022cAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"