#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e5d63e135c7f7e6aca1cf12f773fa5b597ae9b15 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 H4sIAEz2g2cAA+08a3PbOJLzWb8Ca0+KVEaibMcZT3lHyXmcx3g3cVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62BW3v+XP83N57vk2/ d7a26BMf7W19/8327t4ufNvZ2937Zmt7+9nO1jds6wvQ0mi5yLyUsa8x1f/FtvmXUS7S0VUQjXh0 y5JFNoujnd7GxkbP1Ao2ZG95xFMv4+zwu+/YNI3n7FcAYEenTq/3i+CCIbzjCT90GPsYhCHLZoFg V5yl/C4NsoxHzJNQEit+e0kzETbXneZZnnLXZcE8idOMJWkQZdAbTbIgjno91S0WoqeG+Pz2Kg9C 37kG5OoxTYBkSBj8ph9N43TuZUjFdJ7Jx5M45foxT9M4ld2+l3lu6EXX+tmnH+SD+WKSJLpzvgiD K9mPs+ruLPUigXM1HwGdLiBQ9GeLJCineBeIjNjh8yn7kOCahd3f7zFomwjL95ndZ8MXLE6yxEsF dyTUCX5PCW7jlAMPI8G8CKHgISPIlAURKHo04c5GjyATNm7HY/flc8fzfVfisK3hMIqHScqzbDEk sQznHDTFF9aAoCvN5yIbWxLalUJcAe2RdMeWyEAU7tQLBW9HOvXyMBufpzlveTzjYTK2Ps5gHlhs FiOnpbpKOqQyIbc1Kf2e4uxhHGVpHLIT0n3QCOBUmk+AHKFBQJhsFsU+J/1u5U+yGAZRkA2PV3Bk 4SKIG61nAxCwkgtvkE1L2VCYqlqSK+d1wSJB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AaJAT9B8rCoMj RYbXRoVpMEVb/WqeUCZEZG38AFVdzg3pgFQWscYPwkncMDKNAzlbI+dKh5kAr8KydnYVF+hNhVdZ T4cv1/e/ypetNM/eKI9OyakWppmp/pWs22RU/aLxyRoYRKr11lR16hfBtSNX4sp6+xbNtymhUmKh 55j6GMgiHR7lc7rBK1HKgox+RUIBVo5sLXFUA5ORVXOu0tNn/yrfVCvrF+TMWveM/F+LSlYR/l6V RfnKX0MM5U66SgKv6W8/JBJW3agKBsLAQ3F16s0gmoS5z9lGJSZ3ZhvVJaqcTyDTNY5KIxl10QVG FJBIvAkHsRGj8CKIwA3ZabSULVVPq0lTbGAYPliMX+msGaPfYouGxMkmi2iD1LffBMTma9usqjrS 0G8dYFqNT0JtMuN3xkYjZrKkhSFfLP6DsCyL41AdmYf3Yualjph91jnW/P2nrd1m/md3d6eL/79G q/39pytPzHqbmHXBv2OBL6LSL/XnQLCKZ4nCsB91wE+q/KLXEzxjw5hFcR7BV/0zCRI+9YJQ/+Zp im+09nrqj1n8CwyET2Yx28By23327X9sFD3XQUaXYEEG/f959vPBqfv26Nw9/PD+/dE5FUITnFWl bJ/+LggG2LgcYSkwBJ/C3imvmdmQ3n2eaiRLcfngQ63e773eBlL2vy29rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta79f2v/Aw5M6/wAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"