#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c326e7c0fe0e6c12cd33f02bd6fd7b3f0b468ce1 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 H4sIAEQieGcAA+08/XPbtpLvZ/0VeHYzpFKJsh2n6fhVybnOR32XOJ7YfbmOz+XQJGQxpkgeQdrW e9P+7be7AEjwQ5Lz2uRu5oiZRBK4WCz2Cwvs0kvvRkyW8J+78MLYSZd/+fPbDrRnT5/i5+6zp7v0 e29nhz7x0bOd7/6yu//syXfQ+2wf+nd3n8BjtvMFaGm1QuRextjXmOr/Ytv+66QQ2eQqjCc8vmXp Mp8n8d5ga2trYGoFG7M3POaZl3N29O23bJYlC/YLALDjD85g8LPggiG844kgchj7GEYRy+ehYFec ZfwuC/Ocx8yTUBIrfntBMxE2150VeZFx12XhIk2ynKVZGOfQG/t5mMSDgeoWSzFQQwJ+e1WEUeBc A3L1mCZAMiQMftOPZkm28HKkYrbI5WM/ybh+zLMsyWR34OWeG3nxtX726Xv5YLH001R3LpZReCX7 cVbdnWdeLHCu9iOg0wUEiv58mYbVFG9DkRM7Aj5j71Ncs7CHBwMGbRth+QGzh2z8nCVpnnqZ4I6E OsXvGcFtfeDAw1gwL0YoeMgIMmNhDIoe+9zZGhBkyqbdeOyhfO54QeBKHLY1HsfJOM14ni/HJJbx goOmBMIaEXStBVzkU0tCu1KIa6A9ku7UEjmIwp15keDdSGdeEeXT86zgHY/nPEqn1sc5zAOLzRPk tFRXSYdUJuS2JmU4UJw9SuI8SyJ2SroPGgGcygofyBEaBITJ5nEScNLvTv6ky3EYh/n4ZA1Hli6C uPFmNgABa7nwGtm0kg2lqaoluXJeFywS1D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