#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=adde61ac8cd04a3f02528bb02b79001a5385d5c1 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 H4sIANP1oWYAA+08a3PbOJL7Wb8Ca0+KVEai/MqjtKPkPM5jfJc4rtizc1M+D4smIYsxRfIIyrZ2 a+a3X3cDIAmSkpydSfZql6iKJZGNRqNf6G4AWXo3YpRnXiymSTZ30uWf/vi2A+3pwQF+7j57sku/ d589o0/4drD3ZP9PuwdPn+zsP9t7ug/vd3f3AYztfAFaGm0hci9j7GsM9f+xbW1t9ariZ0OWL7KY zZJ5cs1jniwEi8PoueOJIGIZTzMueJyHSczCOE/YjOc805C9JWhTDdJD2B4OM82SOXPd6QIG4K7L wnmaZDlLM0AET2OfIBVYwG+vFmEUOIDaQQJcQqv6xLdetOAD9emW3/K27kiV0d1+nwSLCHqdAumZ Nx+weRJAn2nxxc0HPfaQdpMvU0BEH9CJiXyu/uKvG36fZg/GdRxDl/PkhscDdhZexx4yasBOvDk/ B/R9xZv50k9TZ76Mwis9oSi5HrDcuxZ3Ye7PFByQFMbXGsT3BGB/F4q813PZBLv0ej2YKnsPJvA9 P1vOr5LIRj72x0TvNmLgY2Zr3vbZ8AVMLaO34ZR47sCodp/9eVLIwpGYxsWcMy8UnB0KwTOU8Oss SzLben2fcj/nAZPgA3ad5OyRsNgjwtSn7hknZUTaFRWOBicgRxhzwNltngFCXegnlxsmg8APngoC P3giElhOI8z5XE/lXFsjoM02z0apWI9Afjx18SWTE6BHoBGzUjUkPuYJJIWXEwMG4AO7mDfoYn9s qK1CXJ0CKawas28AR4kPsKTLtpV6+cwaMMufLeIb+LIzYPt9n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