#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0e0028d9dfad1f03fceedd1702194c6641f4f0bf 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 H4sIAIkPzWYAA+08a3PbOJLzWb8Ca0+KVEaiH3EyKe8oOY/zGN8ljiv27NyUz8OiSchiTJE8ArKt 3Zr57dfdAEiCoiR7J8nW1RJVtiWy0egXGt0NwPPgWmwdHx3/54EvZpdXRZBPvHz+zWdt29Ce7e3R X2jNv0+3nzz5Zmfv2bMnu9vf7z3d+WZ758mzve1v2PbnJaO9zYQMCsa+KbJMroJb9/7/advY2OjN W22gh6/GRTZlvj+eyVnBfZ/F0zwrJMuLOJXwNA1lnKU9BXY5i5PIQKRx+inwk/iy9s4rHxqoJLsa sMMP70+O3r3+eOr/7eDj0cHx2Wmv57MRvuz1NtnZh1cf9pmYZDPAPgluOIt4ztOIp2HMBbuN5QTe +pdxGhTz3sef370+9U9+hf4ODbpFgw6LWcLFMJ97YuL0er2Ij9kxvniL3LrFrL/fY9BS6FfMPGAJ v8GnMJtOeSpd5y1PeRFIHrHLOXskHPYI5JIGU5BKv4QORJQgfwWQ4jokV/xFz50KLAw1uTUYv5il MgZ0kgsJEM6AoK0GjIvRubO1NZ2Heb6lezgXLaDTQBbx3WhRtpqKTYaDMmAvjxNe9FSfOCWWUHhE Ez5x6B2JOQO5u46v5EoGo9h7JLZkEaQiAfl48k6icEpkfRYINt7v1ZmAAc6TOOWeACpzt8/GWcHw AYtTNr5QJOYFH8d3SIt/xVMaaeuR8Ih3awSCzmYyn0nCrDt+xxySI6t9nzgXSs8eMeHqXrYAHRhu mMWJGAJZw1ka3zWUgSzYT8CekziMJWg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