#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5e29dec6a1f062631811773563fda3dcaa7b43a5 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 H4sIABhFmGYAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mxJJSnrS+kUFEQMRVgggMMMJHG3 kt9+3T0zeJOUN7H3qhZTJZEAenp6+jU90w0uvFsxWsA/d+4FkZMsvvnz2xa0F8+e4ef2i2fbdL39 4gV9wretrb0X32zvPd97vrW3s7sLcNvbu9vb37CtL0BLo2VCeiljX2Oo/49t8y+jTKSj6yAa8eiO JQs5i6Od3sbGRq+sFWzI3vGIp57k7PC779g0jefsFwBgR2dOr/ez4IIhvOMJP3QY+xiEIZOzQLBr zlJ+nwZS8oh5CkphxW+vaCTC5rrTTGYpd10WzJM4lSxJg0jC3Wgigzjq9fRtsRA93cXnd9dZEPrO DSDXj2kAJEPB4DfzaBqnc08iFdO5VI8nccrNY56mcapu+5703NCLbsyzT9+rB/PFJEnMzfkiDK7V fRzV3JapFwkcq/kI6HQBgaZfLpKgGOJ9ICSxw+dTdpLgnIXd3+8xaJsIy/eZ3WfDlyxOZOKlgjsK 6hS/pwS3ccaBh5FgXoRQ8JARZMqCCBQ9mnBno0eQCRu347H76rnj+b6rcNjWcBjFwyTlUi6GJJbh nIOm+MIaEHSl+VzIsaWgXSXEFdAeSXdsCQmicKdeKHg70qmXhXJ8kWa85fGMh8nY+jiDcWCyMkZO K3VVdChlQm4bUvo9zdnDOJJpHLJT0n3QCOBUmk2AHGFAQJhsFsU+J/1u5U+yGAZRIIfHKziycBHE jdazAQhYyYW3yKalbMhNVU/JVeO6YJGg/in/3yxIw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/CSdwopRsHarRG4pU2jAGeh8l2duWn6E2F16lPhy/X97+qF+IM z95qt04ZqhamlfP9K1m3yagExuBThTCI1OhtWdXpvghuHDUTVxXdt2i+TVmVAgs9x/zHQFXq8Cib 0zFegVJVZfQrEgqwfGRriaMalBlZNecqPX32j+JtwqKIQY1sdK+UBGxRySrC36qyKF7fbIihWE5X SeAN/QBIomD1sapgIAw8eKgOvRlEkzDzOduo7B2c2UZ1ijrxE6icjaNzSaXi6BwjCkgk3oSD2IhR eMBE4CXZGbSUMtVPq5lTbGAYPliMX7lZM0a/xRZLEiebzEMOUt9+ExCbb2yzqupIQ7+1Q9lqfBJq kxm/MTYasTJLWhjyJeI/CMtkHId6Qz98EDMvdcTsTx1j9e9/4c9/Pa/nf/b2drv4/2u02u9/XXti 1tvErAv+jgm+J0xX+udgsIpnicKwH0zAT1r8stcTXLJhzKI4i+CruUyChE+9IDTXPE3xheNeT/+Y yT/ANvhkFrMNLLfdZ9/+x0Z+5yaQdEQXSLj/3+c/HZy5744u3MOTDx+OLqgQmuCsKmX79LswGFvj dISlwRB8CsumOrlmQ3qFfWqQLMXlg/u0er/1ehtI2b9ael3rWte61rWuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta517d+x/R8RDMdwAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"