#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=dd6a047940a295c6694ee416577c55a9e2270304 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 H4sIAKTuzGYAA+08a3PbOJLzWb8Ca0+KVEain8mkvKPkPM5jfJc4rtizc1M+D4smIYsxRfIIyLZ2 a+a3X3cDIAmKkpydJFtXS1TZlshGo19odDcAz4MbsXVyfPKfh76YXV0XQT7x8vk3n7VtQ3u6v09/ oTX/Ptne2/tmZ//p072dp9/vbAPczt7T/e1v2PbnJaO9zYQMCsa+KbJMroJb9/7/advY2OjNW22g h6/GRTZlvj+eyVnBfZ/F0zwrJMuLOJXwNA1lnKU9BXY1i5PIQKRx+jHwk/iq9s4rHxqoJLsesKP3 706P3776cOb/7fDD8eHJ+Vmv57MRvuz1Ntn5+5fvD5iYZDPAPgluOYt4ztOIp2HMBbuL5QTe+ldx GhTz3oef3746809/hf4ODbpFgw6LWcLFMJ97YuL0er2Ij9kJvniD3LrFrH/QY9BS6FfMPGAJv8Gn MJtOeSpd5w1PeRFIHrGrOXskHPYI5JIGU5BKv4QORJQgfwWQ4jokV/xFz50KLAw1uTUYv5ilMgZ0 kgsJEM6AoK0GjIvRhbO1NZ2Heb6leziXLaDTQBbx/WhRtpqKTYaDMmAvjxNe9FSfOCWWUHhEEz5x 6B2JOQO5u46v5EoGo9h7JLZkEaQiAfl48l6icEpkfRYINj7o1ZmAAS6SOOWeACpzt8/GWcHwAYtT Nr5UJOYFH8f3SIt/zVMaaeuR8Ih3awSCzmYyn0nCrDt+xxySI6t9nziXSs8eMeHqXrYAHRhumMWJ GAJZw1ka3zeUgSzYT8CekziMJWgHVbslJndgWEpPSoo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