#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1ed40caed11f273867e0f0b871cde71a1d51dc86 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 H4sIANm6f2YAA+08/XPbNrL9WX8Fzm6GVCrRn4kzuio51/mo3yWOJ3avr+NTOTQJSYwpko+gbOtu 2r/9dhcASVCU5FyT3Js5YiaRRC4Wi93FYj8AL7wbsXN2evY/x66YX08yL5066eKbz9p2oT09PMTP vaMne/R77+iIPqE92T04+Gbv8OnB0dHBk/0DeL63v3v09Bu2+3nJaG5zkXsZY19jqP+PbWtrq7No 1IEOvhpnyYy57niezzPuuiycpUmWszQL4xyexn4eJnFHgl3PwyjQEHEYf/TcKLyuvHOKhxoqSiY9 dvL+3fnp21cfLty/HX84PT67vOh0XDbEl53ONrt8//L9gIlpMgfsU++Ws4CnPA547IdcsLswn8Jb 9zqMvWzR+fDT21cX7vkv0N+iQXdo0H42j7jopwtHTK1OpxPwMTvDF29wtnY27w46DFoM/bK5A1PC X/DNT2YzHue29YbHPPNyHrDrBXskLPYI+BJ7M+BKt4D2RBDh/DIgxbaIr/gfPbdKMN9X5FZg3Gwe 5yGgy7nIAcLqEbTRYOJieGXt7MwWfpruqB7WqAF05uVZeD9c5q2iYpvhoAyml4YRzzqyTxjTlJB5 RBM+segdsTkBvtuWK/lKCiOn90js5JkXiwj44+T3OTKnQNZlnmDjQac6CRjgKgpj7gigMrW7bJxk DB+wMGbjkSQxzfg4vEda3AmPaaSdR8KhuRsjEHQyz9N5TphVx++YRXxkld9TayTl7NAkbNXLZKAF w/WTMBJ9IKs/j8P7mjBwCuYT0Oco9MMcpIOi3RHTO1AsKSfJxR7TqlkT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