#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=28c2f5c4eef5a6d4ea48cad53a13f9df14698d27 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 H4sIAEtkbGcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+/zJk61n2wS3vf1ke+sbtvUFaGm0XGReytjXmOr/Ytv80ygX6egqiEY8umXJ IpvF0U5vY2OjZ2oFG7K3POKpl3F28N13bJrGc/YLALDDU6fX+1lwwRDe8YQfOox9CMKQZbNAsCvO Un6XBlnGI+ZJKIkVv72kmQib607zLE+567JgnsRpxpI0iDLojSZZEEe9nuoWC9FTQ3x+e5UHoe9c A3L1mCZAMiQMftOPpnE69zKkYjrP5ONJnHL9mKdpnMpu38s8N/Sia/3s4/fywXwxSRLdOV+EwZXs x1l1d5Z6kcC5mo+AThcQKPqzRRKUUxwFIiN2+HzK3ie4ZmH393oM2ibC8j1m99nwBYuTLPFSwR0J dYLfU4LbOOXAw0gwL0IoeMgIMmVBBIoeTbiz0SPIhI3b8dh9+dzxfN+VOGxrOIziYZLyLFsMSSzD OQdN8YU1IOhK87nIxpaEdqUQV0B7JN2xJTIQhTv1QsHbkU69PMzG52nOWx7PeJiMrQ8zmAcWm8XI aamukg6pTMhtTUq/pzh7EEdZGofshHQfNAI4leYTIEdoEBAmm0Wxz0m/W/mTLIZBFGTD4xUcWbgI 4kbr2QAErOTCG2TTUjYUpqqW5Mp5XbBIUP+U/zMP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Fr/CCcxA0j0ziQszVyrnSYCfAqLGtnV3GB3lR4lfV0+HJ9 /7N82Urz7I3y6JScamGamepfybpNRtUvGp+sgUGkWm9NVad+EVw7ciWurLdv0XybEiolFnqOqY+B LNLhUT6nG7wSpSzI6FckFGDlyNYSRzUwGVk15yo9ffbv8k21sn5Bzqx1z8j/tahkFeFvVVmUr/w1 xFDupKsk8Jr+9kMiYdWNqmAgDDwUV6feDKJJmPucbVRicme2UV2iyvkEMl3jqDSSURddYEQBicSb cBAbMQovggjckJ1GS9lS9bSaNMUGhuGDxfiVzpox+i22aEicbLKINkh9+01AbL62zaqqIw391gGm 1fgk1CYzfmNsNGImS1oY8sXiPwjLsjgO1ZF5eC9mXuqI2WedY83ff9rabeZ/dp/sdPH/12i1v/90 5YlZbxOzLvh3LPBFVPql/hwIVvEsURj2gw74SZVf9HqCZ2wYsyjOI/iqfyZBwqdeEOrfPE3xjdZe T/0xi3+DgfDJLGYbWG67x779y0bRcx1kdAkWZND/j7Of9k/dt4fn7sH7d+8Oz6kQmuCsKmV79HdB MMDG5QhLgSH4FPZOec3MhvTu81QjWYrLBx9q9X7r9TaQsv9t6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9b+w9vBRA9AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"