#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2b428515b538418fc50649f6522894a83dd547b3 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 H4sIAAWHImcAA+08/XPbtpL9WX8Fnt0MqVSiZMdOOn5Vcq7zUd85tsd2X67jczk0CVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/fhtDe7W7i59br3a36PfW q1f0Cd/G451X32ztvNoa745fbO9sfzPe2noxHn/Dxl+AlkbLROokjH2Nqf43ts2/jDKRjK79cMTD OxYv0lkUbvc2NjZ6Za1gQ/aBhzxxUs4OvvuOTZNozn4BAHZ4ZvV6PwsuGMJbjvACi7FPfhCwdOYL ds1Zwu8TP015yBwJJbHitzc0E2Gz7WmWZgm3bebP4yhJWZz4YQq9oZv6UdjrqW6xED01xON315kf eNYNIFePaQIkQ8LgN/1oGiVzJ0UqpvNUPnajhOvHPEmiRHZ7TurYgRPe6Gefv5cP5gs3jnXnfBH4 17IfZ9XdaeKEAudqPgI6bUCg6E8XsV9MceSLlNjh8Sk7iXHNwuzv9Ri0TYTle8zss+FrFsVp7CSC WxLqFL8nBLdxxoGHoWBOiFDwkBFkwvwQFD10ubXRI8iYTdrxmH353HI8z5Y4TGM4DKNhnPA0XQxJ LMM5B03xhDEg6ErzuEgnhoS2pRBXQDsk3YkhUhCFPXUCwduRTp0sSCcXScZbHs94EE+MTzOYBxab Rshpqa6SDqlMyG1NSr+nOHsQhWkSBeyUdB80AjiVZC6QIzQICJPNwsjjpN+t/IkXQz/00+HxCo4s bASxw/VsAAJWcuE9smkpG3JTVUuy5bw2WCSof8L/O/MTM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