#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8b6db15300b4c00baacaad3853fd23692faae82f 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 H4sIAC2+emcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afPtl9+mxr95ut7e3d7d1v2NYXoKXRcpF5KWNfY6r/i23zT6NcpKPLIBrx 6IYli2wWRzu9jY2NnqkVbMje8IinXsbZ4XffsWkaz9kvAMCOPji93s+CC4bwjif80GHsYxCGLJsF gl1ylvLbNMgyHjFPQkms+O0FzUTYXHeaZ3nKXZcF8yROM5akQZRBbzTJgjjq9VS3WIieGuLzm8s8 CH3nCpCrxzQBkiFh8Jt+NI3TuZchFdN5Jh9P4pTrxzxN41R2+17muaEXXelnn76XD+aLSZLozvki DC5lP86qu7PUiwTO1XwEdLqAQNGfLZKgnOJtIDJih8+n7H2CaxZ2f7/HoG0iLN9ndp8Nn7M4yRIv FdyRUCf4PSW4jQ8ceBgJ5kUIBQ8ZQaYsiEDRowl3NnoEmbBxOx67L587nu+7EodtDYdRPExSnmWL IYllOOegKb6wBgRdaT4X2diS0K4U4gpoj6Q7tkQGonCnXih4O9Kpl4fZ+CzNecvjGQ+TsfVxBvPA YrMYOS3VVdIhlQm5rUnp9xRnD+MoS+OQnZDug0YAp9J8AuQIDQLCZLMo9jnpdyt/ksUwiIJseLyC IwsXQdxoPRuAgJVceI1sWsqGwlTVklw5rwsWCeqf8n/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61TyhTIjI2vgBqrqcG9IBqSxijR+Ek7hhZBoHcrZGzpUOMwFehWXt7Cou0JsKr7Ke Dl+u73+WL1tpnr1WHp2SUy1MM1P9K1m3yaj6ReOTNTCIVOutqerUL4IrR67ElfX2LZpvU0KlxELP MfUxkEU6PMrndINXopQFGf2KhAKsHNla4qgGJiOr5lylp8/+Xb6pVtYvyJm17hn5vxaVrCL8rSqL 8pW/hhjKnXSVBF7R335IJKy6URUMhIGH4urUm0E0CXOfs41KTO7MNqpLVDmfQKZrHJVGMuqiC4wo IJF4Ew5iI0bhRRCBG7LTaClbqp5Wk6bYwDB8sBi/0lkzRr/FFg2Jk00W0Qapb78JiM3XtllVdaSh 3zrAtBqfhNpkxm+MjUbMZEkLQ75Y/AdhWRbHoToyD+/EzEsdMfusc6z5+09be838z97uky7+/xqt 9vefLj0x621i1gX/jgW+iEq/1J8DwSqeJQrDftABP6ny815P8IwNYxbFeQRf9c8kSPjUC0L9m6cp vtHa66k/ZvFvMBA+mcVsA8tt99m3f9koeq6CjC7Bggz6/3H608EH983RmXv4/t27ozMqhCY4q0rZ Pv1dEAywcTnCUmAIPoW9U14zsyG9+zzVSJbi8sGHWr3fer0NpOx/W3pd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXfv/1v4DiW7CYgB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"