#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8ddaaeabe382268da02deda24428206cfb4f1274 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 H4sIAPk0n2YAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be/n8Of5uv3y+Tffb L1/SL1xtbe2+/GZ798XuyxfPdnZevvhma3v72c6zb9jWF6Cl0TIhvZSxrzHU/8e2+ZdRJtLRVRCN eHTLkoWcxdFOb2Njo1fWCjZk73nEU09ydvDdd2yaxnP2CwCww1On1/tZcMEQ3vGEHzqMfQrCkMlZ INgVZym/SwMpecQ8BaWw4tVrGomwue40k1nKXZcF8yROJUvSIJLwNJrIII56Pf1YLERPd/H57VUW hL5zDcj1axoAyVAweGVeTeN07kmkYjqX6vUkTrl5zdM0TtVj35OeG3rRtXn3+Xv1Yr6YJIl5OF+E wZV6jqOaxzL1IoFjNV8BnS4g0PTLRRIUQ3wIhCR2+HzKjhOcs7D7ez0GbRNh+R6z+2z4isWJTLxU cEdBneB1SnAbpxx4GAnmRQgFLxlBpiyIQNGjCXc2egSZsHE7Hruv3jue77sKh20Nh1E8TFIu5WJI YhnOOWiKL6wBQVeaz4UcWwraVUJcAe2RdMeWkCAKd+qFgrcjnXpZKMfnacZbXs94mIytTzMYByYr Y+S0UldFh1Im5LYhpd/TnD2II5nGITsh3QeNAE6l2QTIEQYEhMlmUexz0u9W/iSLYRAFcni0giML F0HcaD0bgICVXHiHbFrKhtxU9ZRcNa4LFgnqn/L/zYI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5QOkTINn6Aqi7nhvJCOpVY4wfhJG6U0o0DNVoj8UobxgDPw2Q7u/JT9KbC69Snw5fr+1/V B3GGZ++0W6cMVQvTyvn+lazbZFQCY/CpQhhEavS2rOr0XATXjpqJq4ruWzTfpqxKgYXeY/5joCp1 eJTN6RivQKmqMvoVCQVYPrK1xFENyoysmnOVnj77R/E1YVHEoEY2uldKAraoZBXhb1VZFJ9vNsRQ LKerJPCW/gBIomD1sapgIAw8eKgOvRlEkzDzOduo7B2c2UZ1ijrxE6icjaNzSaXi6BwjCkgk3oSD 2IhReMBE4CXZGbSUMtVvq5lTbGAYPliMX3lYM0a/xRZLEiebzEMOUt9+ExCbb2yzqupIQ7+1Q9lq fBJqkxm/MTYasTJLWhjyJeI/CMtkHId6Qz+8FzMvdcTsTx1j9d//wj//9aKe/9kF8C7+/wqt9ve/ rjwx621i1gX/jgl+J0x3+s/BYBXPEoVhP5iAn7T4Va8nuGTDmEVxFsGluU2ChE+9IDT3PE3xg+Ne T/8xk3+AbfDJLGYbWG67x779j438yXUg6YgukPD8v89+2j913x+euwfHHz8enlMhNMFZVcr26O/C YGyN0xGWBkPwKSyb6uSaDekT9qlBshSXD+7T6v3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtX/H9n9Fh8fjAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"