#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=365cbffc62fda14c3e8bb0ed9d448ed9a0cca673 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 H4sIAInLImcAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37agvdrbw9/tV3vbdL/9 6hX9wtXW1u6rb7Z3X21v7e3u7cL11vb2i+29b9jWF6Cl0TKROgljX2Oo/41t8y+jTCSjiR+OeHjH 4kU6i8Kd3sbGRq+sFWzIPvCQJ07K2eF337FpEs3ZLwDAjs6tXu9nwQVDeMsRXmAx9skPApbOfMEm nCX8PvHTlIfMkVASK169oZEIm21PszRLuG0zfx5HScrixA9TeBq6qR+FvZ56LBaip7p4/G6S+YFn 3QBy9ZoGQDIkDF7pV9MomTspUjGdp/K1GyVcv+ZJEiXyseekjh044Y1+9/l7+WK+cONYP5wvAn8i n+Oo+nGaOKHAsZqvgE4bECj600XsF0Mc+yIldnh8yk5jnLMw+/s9Bm0TYfk+M/ts+JpFcRo7ieCW hDrD64TgNs458DAUzAkRCl4ygkyYH4Kihy63NnoEGbNxOx6zL99bjufZEodpDIdhNIwTnqaLIYll OOegKZ4wBgRdaR4X6diQ0LYU4gpoh6Q7NkQKorCnTiB4O9KpkwXp+DLJeMvrGQ/isfFpBuPAZNMI OS3VVdIhlQm5rUnp9xRnD6MwTaKAnZHug0YAp5LMBXKEBgFhslkYeZz0u5U/8WLoh346PFnBkYWN IHa4ng1AwEouvEc2LWVDbqpqSrYc1waLBPVP+H9nfgI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