#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=36b3584df83d850147a5f136439e1d7f8cc4c574 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 H4sIANHEJmcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOn5Vcq7zUd85tid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9rL58/xc/vl8236 vf3yJX3Ct62t3ZffbO++3N5+vrsD/77Z2t5+tvXiG7b1BWhptFxkXsrY15jqf2Pb/MsoF+noKohG PLplySKbxdFOb2Njo1fVCjZk73nEUy/j7OC779g0jefsFwBghx+dXu9nwQVDeMcTfugw9ikIQ5bN AsGuOEv5XRpkGY+YJ6EkVvz2mmYibK47zbM85a7LgnkSpxlL0iDKoDeaZEEc9XqqWyxETw3x+e1V HoS+cw3I1WOaAMmQMPhNP5rG6dzLkIrpPJOPJ3HK9WOepnEqu30v89zQi671s8/fywfzxSRJdOd8 EQZXsh9n1d1Z6kUC52o+AjpdQKDozxZJUE5xFIiM2OHzKTtJcM3C7u/1GLRNhOV7zO6z4SsWJ1ni pYI7EuoUv6cEt/GRAw8jwbwIoeAhI8iUBREoejThzkaPIBM2bsdj9+Vzx/N9V+KwreEwiodJyrNs MSSxDOccNMUX1oCgjeZzkY0tCe1KIa6A9ki6Y0tkIAp36oWCtyOdenmYjc/TnLc8nvEwGVufZjAP LDaLkdNSXSUdUpmQ25qUfk9x9iCOsjQO2SnpPmgEcCrNJ0CO0CAgTDaLYp+TfrfyJ1kMgyjIhscr OLJwEcSN1rMBCFjJhXfIpqVsKExVLcmV87pgkaD+Kf/vPE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UtelPhVerT4cv1/a/y hTjNs3fKrVOGqoVp1Xz/StZtMiqB0fhkIQwi1XpbVXXqF8G1I1fiyqL7Fs23KatSYqHnmP8YyEod HuVzusYrUcqqjL4hoQDLR7aWOKpBlZGmOZv09Nk/yrcJyyIGObPWvUoSsEUlTYS/mbIoX99siKHc TldJ4C39AZBEwqprVcFAGHjBYE69GUSTMPc52zDOCM5sw1yiSvwEMmfjqFxSpTi6wIgCEok34SA2 YhReJBF4RXYaLaVM1VMzc4oNDMMHi/GNzpox+i22WJE42WQRcpD69puA2Hxtm6aqIw391gFVq/FJ qE1m/MbYaMSqLGlhyJeI/yAsy+I4VAf34b2YeakjZn/qHKv//hf++a8X9fzP7u5WF/9/jVb7+19X npj1NjHrgn/HBN8Tpl/qz8FgFc8ShWE/6ICftPhVryd4xoYxi+I8gq/6ZxIkfOoFof7N0xRfOO71 1B8z+QfYBp/MYraB5bZ77Nt/2yh6roOMruKCDPr/8+yn/Y/u+8Nz9+Dkw4fDcyqEJjjLpGyP/i4M xta4HGEpMASfwrYpb6jZkF5hn2okS3H54D6t3m+93gZS9q+WXte61rWuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//Y/gforHjwAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"