#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=239e008cc4efca3e96183af795522acf36764514 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 H4sIAKC7H2cAA+08a3PbRpL5zF8xK8UF0CFBSZatlDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b18ib/bey+36X57 b49+4Wpra3fvm+3dva29vRcvd/defbO1vf1i59U3bOsL0NJomUidhLGvMdT/xrb5l1EmktHED0c8 vGPxIp1F4U5vY2OjV9YKNmQfeMgTJ+Xs8Lvv2DSJ5uwXAGBH51av97PggiG85QgvsBj75AcBS2e+ YBPOEn6f+GnKQ+ZIKIkVr97QSITNtqdZmiXctpk/j6MkZXHihyk8Dd3Uj8JeTz0WC9FTXTx+N8n8 wLNuALl6TQMgGRIGr/SraZTMnRSpmM5T+dqNEq5f8ySJEvnYc1LHDpzwRr/7/L18MV+4cawfzheB P5HPcVT9OE2cUOBYzVdApw0IFP3pIvaLIY59kRI7PD5lpzHOWZj9/R6DtomwfJ+ZfTZ8zaI4jZ1E cEtCneF1QnAb5xx4GArmhAgFLxlBJswPQdFDl1sbPYKM2bgdj9mX7y3H82yJwzSGwzAaxglP08WQ xDKcc9AUTxgDgq40j4t0bEhoWwpxBbRD0h0bIgVR2FMnELwd6dTJgnR8mWS85fWMB/HY+DSDcWCy aYScluoq6ZDKhNzWpPR7irOHUZgmUcDOSPdBI4BTSeYCOUKDgDDZLIw8Tvrdyp94MfRDPx2erODI wkYQO1zPBiBgJRfeI5uWsiE3VTUlW45rg0WC+if8vzM/AYPldzx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o6nJuSC+kUok1fhBO4kYp3TiQozUSr7Qx9PE8LG1nV36K3lR4lfq0+HJ9/6v8 IE7z7L1y65ShamFaOd+/knWbjEpgND5ZCINItd6WVZ2eC//GkjOxZdF9i+ablFUpsNB7zH8MZKUO D7M5HeMVKGVVRr8iIR/LR7aWOKpBmZFVc67S02f/KL4mLIoY5Mha90pJwBaVrCL8rSqL4vPNhhiK 5XSVBN7RHwCJJaw6VhUMhIEHDNWhN/3QDTKPs43KHsGabVSnqBI/vszZWCqXVCqOzjGigETsuBzE RozCgyQCL8lOo6WUqXpbzZxiA8PwwGK8ysOaMXottliSONlkHnKQ+vabgNg8bZtVVUca+q0dylbj kVCbzPiNsdGIlVnSwpAvEf9BWJZGUaA27sMHMXMSS8z+1DFW//0v/PNfr+r5n91XW138/zVa7e9/ TRwx621i1gX/jgl+J0x36s/BYBXPEoVhP+iAn7T4da8neMqGEQujLIRLfRv7MZ86fqDveZLgB8e9 nvpjJv8A2+DuLGIbWG67z779t438yY2f0lGcn8Lz/7z46eDc/nB0aR+efvx4dEmF0ARnVCnbp78L g7E1TkcYCgzBp7BsyhNqNqRP2KcayVJcHrhPo/dbr7eBlP2rpde1rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/4/tv8BPZr7WwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"