#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=05713dfc4ba158e457d3bbac6e14ad770cc4c46b 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 H4sIAM+VMWcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y9395/t7j1/vvfNzu7us50X37CdL0BLo2UidRLGvsZU/xvb9l9GmUhGUz8c 8fCWxct0HoV7va2trV5ZK9iQvechT5yUs8PvvmOzJFqwXwCAHX20er2fBRcM4S1HeIHF2Cc/CFg6 9wWbcpbwu8RPUx4yR0JJrPjtNc1E2Gx7lqVZwm2b+Ys4SlIWJ36YQm/opn4U9nqqWyxFTw3x+O00 8wPPugbk6jFNgGRIGPymH82iZOGkSMVskcrHbpRw/ZgnSZTIbs9JHTtwwmv97PP38sFi6cax7lws A38q+3FW3Z0mTihwruYjoNMGBIr+dBn7xRTHvkiJHR6fsdMY1yzM/rjHoG0jLB8zs8+Gr1gUp7GT CG5JqDP8nhDc1kcOPAwFc0KEgoeMIBPmh6DoocutrR5BxmzSjsfsy+eW43m2xGEaw2EYDeOEp+ly SGIZLjhoiieMAUFXmsdFOjEktC2FuAbaIelODJGCKOyZEwjejnTmZEE6uUgy3vJ4zoN4Ynyawzyw 2DRCTkt1lXRIZUJua1L6PcXZwyhMkyhgZ6T7oBHAqSRzgRyhQUCYbB5GHif9buVPvBz6oZ8OT9Zw ZGkjiB1uZgMQsJYL75BNK9mQm6paki3ntcEi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