#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=b0b08ad61f3a2ebdfac7fb43566519bc7cf336ca 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 H4sIANAmbGcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3Z3t3Z2t588/WZre3t3a/sbtvUFaGm0XGReytjXmOr/Ytv80ygX6egyiEY8 umHJIpvF0U5vY2OjZ2oFG7I3POKpl3F2+N13bJrGc/YLALCjD06v97PggiG84wk/dBj7GIQhy2aB YJecpfw2DbKMR8yTUBIrfntBMxE2153mWZ5y12XBPInTjCVpEGXQG02yII56PdUtFqKnhvj85jIP Qt+5AuTqMU2AZEgY/KYfTeN07mVIxXSeyceTOOX6MU/TOJXdvpd5buhFV/rZp+/lg/likiS6c74I g0vZj7Pq7iz1IoFzNR8BnS4gUPRniyQop3gbiIzY4fMpe5/gmoXd3+8xaJsIy/eZ3WfD5yxOssRL BXck1Al+Twlu4wMHHkaCeRFCwUNGkCkLIlD0aMKdjR5BJmzcjsfuy+eO5/uuxGFbw2EUD5OUZ9li SGIZzjloii+sAUFXms9FNrYktCuFuALaI+mOLZGBKNypFwrejnTq5WE2Pktz3vJ4xsNkbH2cwTyw 2CxGTkt1lXRIZUJua1L6PcXZwzjK0jhkJ6T7oBHAqTSfADlCg4Aw2SyKfU763cqfZDEMoiAbHq/g yMJFEDdazwYgYCUXXiOblrKhMFW1JFfO64JFgvqn/J95kILB8h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w2qgwDaZoq1/NE8qEiKyNH6Cqy7khHZDKItb4QTiJG0amcSBna+Rc6TAT4FVY1s6u4gK9qfAq 6+nw5fr+Z/mylebZa+XRKTnVwjQz1b+SdZuMql80PlkDg0i13pqqTv0iuHLkSlxZb9+i+TYlVEos 9BxTHwNZpMOjfE43eCVKWZDRr0gowMqRrSWOamAysmrOVXr67N/lm2pl/YKcWeuekf9rUckqwt+q sihf+WuIodxJV0ngFf3th0TCqhtVwUAYeCiuTr0ZRJMw9znbqMTkzmyjukSV8wlkusZRaSSjLrrA iAISiTfhIDZiFF4EEbghO42WsqXqaTVpig0MwweL8SudNWP0W2zRkDjZZBFtkPr2m4DYfG2bVVVH GvqtA0yr8UmoTWb8xthoxEyWtDDki8V/EJZlcRyqI/PwTsy81BGzzzrHmr//tLXXzP/s7ex28f/X aLW//3TpiVlvE7Mu+Hcs8EVU+qX+HAhW8SxRGPaDDvhJlZ/3eoJnbBizKM4j+Kp/JkHCp14Q6t88 TfGN1l5P/TGLf4OB8MksZhtYbrvPvv3LRtFzFWR0CRZk0P+P058OPrhvjs7cw/fv3h2dUSE0wVlV yvbp74JggI3LEZYCQ/Ap7J3ympkN6d3nqUayFJcPPtTq/dbrbSBl/9vS61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeva/7f2H+mOiSUAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"