#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=9ae3bd1824373ce3d9ef18d99a8d304d5c0a82b0 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 H4sIALiSiGcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+3x3ZxvazrNvtuD/57vfsK0vQEuj5SLzUsa+xlT/F9vmn0a5SEeXQTTi0Q1L FtksjnZ6GxsbPVMr2JC95RFPvYyzg+++Y9M0nrNfAIAdfnB6vZ8FFwzhHU/4ocPYxyAMWTYLBLvk LOW3aZBlPGKehJJY8dtLmomwue40z/KUuy4L5kmcZixJgyiD3miSBXHU66lusRA9NcTnN5d5EPrO FSBXj2kCJEPC4Df9aBqncy9DKqbzTD6exCnXj3maxqns9r3Mc0MvutLPPn0vH8wXkyTRnfNFGFzK fpxVd2epFwmcq/kI6HQBgaI/WyRBOcVRIDJih8+n7H2CaxZ2f6/HoG0iLN9jdp8NX7A4yRIvFdyR UCf4PSW4jQ8ceBgJ5kUIBQ8ZQaYsiEDRowl3NnoEmbBxOx67L587nu+7EodtDYdRPExSnmWLIYll OOegKb6wBgRdaT4X2diS0K4U4gpoj6Q7tkQGonCnXih4O9Kpl4fZ+CzNecvjGQ+TsfVxBvPAYrMY OS3VVdIhlQm5rUnp9xRnD+IoS+OQnZDug0YAp9J8AuQIDQLCZLMo9jnpdyt/ksUwiIJseLyCIwsX QdxoPRuAgJVceINsWsqGwlTVklw5rwsWCeqf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CNJiirX41TygTIrI2foCqLueGdEAqi1jjB+EkbhiZxoGcrZFzpcNMgFdhWTu7igv0psKrrKfD l+v7n+XLVppnb5RHp+RUC9PMVP9K1m0yqn7R+GQNDCLVemuqOvWL4MqRK3FlvX2L5tuUUCmx0HNM fQxkkQ6P8jnd4JUoZUFGvyKhACtHtpY4qoHJyKo5V+nps3+Xb6qV9QtyZq17Rv6vRSWrCH+ryqJ8 5a8hhnInXSWB1/S3HxIJq25UBQNh4KG4OvVmEE3C3OdsoxKTO7ON6hJVzieQ6RpHpZGMuugCIwpI JN6Eg9iIUXgRROCG7DRaypaqp9WkKTYwDB8sxq901ozRb7FFQ+Jkk0W0QerbbwJi87VtVlUdaei3 DjCtxiehNpnxG2OjETNZ0sKQLxb/QViWxXGojszDOzHzUkfMPusca/7+09ZuM/+zu/2si/+/Rqv9 /adLT8x6m5h1wb9jgS+i0i/150CwimeJwrAfdMBPqvyi1xM8Y8OYRXEewVf9MwkSPvWCUP/maYpv tPZ66o9Z/BsMhE9mMdvActs99u1fNoqeqyCjS7Agg/5/nP60/8F9e3jmHrx/9+7wjAqhCc6qUrZH fxcEA2xcjrAUGIJPYe+U18xsSO8+TzWSpbh88KFW77debwMp+9+WXte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rX/r+1/wDUwmFkAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"