#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=866a21a9fb08ea268211f38812642baa8d0ccf4e 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 H4sIAPezhWYAA+08/XPbNrL9WX8Fzm6GVCrRH3E+Rlcl5zof9bvE9tju9XV8KocmIYkxRfIRlG3d Tfu33+4CIAmKkpxrknszR8wkksjFYrG7WOwH4IV3I3ZOjk/+59AV8+tJ5qVTJ11881nbLrRnBwf4 uff86R793nv+nD6hPd198uSbvYNnB3tPnuw9ew5we/u7z559w3Y/LxnNbS5yL2Psawz1/7FtbW11 Fo060MFX4yyZMdcdz/N5xl2XhbM0yXKWZmGcw9PYz8Mk7kiw63kYBRoiDuOPnhuF15V3TvFQQ0XJ pMeOTj+cHb9/c37h/u3w/Pjw5PKi03HZEF92Otvs8vT16YCJaTIH7FPvlrOApzwOeOyHXLC7MJ/C W/c6jL1s0Tn/6f2bC/fsF+hv0aA7NGg/m0dc9NOFI6ZWp9MJ+Jid4It3OFs7m3cHHQYthn7Z3IEp 4S/45iezGY9z23rHY555OQ/Y9YI9EhZ7BHyJvRlwpVtAeyKIcH4ZkGJbxFf8j55bJZjvK3IrMG42 j/MQ0OVc5ABh9QjaaDBxMbyydnZmCz9Nd1QPa9QAOvPyLLwfLvNWUbHNcFAG00vDiGcd2SeMaUrI PKIJn1j0jticAN9ty5V8JYWR03skdvLMi0UE/HHy+xyZUyDrMk+w8aBTnQQMcBWFMXcEUJnaXTZO MoYPWBiz8UiSmGZ8HN4jLe6ExzTSziPh0NyNEQg6mefpPCfMquN3zCI+ssrvqTWScnZoErbqZTLQ guH6SRiJPpDVn8fhfU0YOAXzCehzFPphDtJB0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