#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=002e00e6661a99a1d11adbe10fdb05be7ba37e2c 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 H4sIABYrPWcAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN77+owVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37agvdrbw9/tV3vbdL/9 6hX9wtXW1u6rb7Z3X22/2tnZ23n54put7e0X2y++YVtfgJZGy0TqJIx9jaH+N7bNv4wykYwmfjji 4R2LF+ksCnd6GxsbvbJWsCH7wEOeOClnh999x6ZJNGe/AAA7Ord6vZ8FFwzhLUd4gcXYJz8IWDrz BZtwlvD7xE9THjJHQkmsePWGRiJstj3N0izhts38eRwlKYsTP0zhaeimfhT2euqxWIie6uLxu0nm B551A8jVaxoAyZAweKVfTaNk7qRIxXSeytdulHD9midJlMjHnpM6duCEN/rd5+/li/nCjWP9cL4I /Il8jqPqx2nihALHar4COm1AoOhPF7FfDHHsi5TY4fEpO41xzsLs7/cYtE2E5fvM7LPhaxbFaewk glsS6gyvE4LbOOfAw1AwJ0QoeMkIMmF+CIoeutza6BFkzMbteMy+fG85nmdLHKYxHIbRME54mi6G JJbhnIOmeMIYEHSleVykY0NC21KIK6Adku7YECmIwp46geDtSKdOFqTjyyTjLa9nPIjHxqcZjAOT TSPktFRXSYdUJuS2JqXfU5w9jMI0iQJ2RroPGgGcSjIXyBEaBITJZmHkcdLvVv7Ei6Ef+unwZAVH FjaC2OF6NgABK7nwHtm0lA25qaop2XJcGywS1D/h/535CRgsv+PJgk19HngFNy5nXI8y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Uok1fhBO4kYp3TiQozUSr7QD9PE8LG1nV36K3lR4lfq0 +HJ9/6v8IE7z7L1y65ShamFaOd+/knWbjEpgND5ZCINItd6WVZ2eC//GkjOxZdF9i+ablFUpsNB7 zH8MZKUOD7M5HeMVKGVVRr8iIR/LR7aWOKpBmZFVc67S02f/KL4mLIoY5Mha90pJwBaVrCL8rSqL 4vPNhhiK5XSVBN7RHwCJJaw6VhUMhIEnCdWhN/3QDTKPs43KZsCabVSnqBI/vszZWCqXVCqOzjGi gETsuBzERozCEyMCL8lOo6WUqXpbzZxiA8PwwGK8ysOaMXottliSONlkHnKQ+vabgNg8bZtVVUca +q0dylbjkVCbzPiNsdGIlVnSwpAvEf9BWJZGUaB26MMHMXMSS8z+1DFW//0v/PNfL0vx/w7mf3Z3 u/zPV2m1v/81ccSst4lZF/w7JvidMN2pPweDVTxLFIb9oAN+0uLXvZ7gKRtGLIyyEC71bezHfOr4 gb7nSYIfHPd66o+Z/ANsg7uziG1gue0++/bfNvInN35KZ25+Cs//8+Kng3P7w9GlfXj68ePRJRVC E5xRpWyf/i4MxtY4HWEoMASfwrIpj6LZkD5hn2okS3F54D6N3m+93gZS9q+WXte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//Y/gf180iqAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"