#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7e00d4c3bc677d39d63e223b8d92a2d34f8704c7 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 H4sIAECQhmcAA+08a3PbOJLzWb8Ca0+KVEaibMeZTHlHyXmcx3jXcVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62Be3F8+f4uf3i+Tb9 3tnaok989GLr+2+2d1/sbj+H789efLO1vf1se/cbtvUFaGm0XGReytjXmOr/Ytv8yygX6egqiEY8 umXJIpvF0U5vY2OjZ2oFG7J3POKpl3F28N13bJrGc/YrALDDU6fX+0VwwRDe8YQfOox9DMKQZbNA sCvOUn6XBlnGI+ZJKIkVv72imQib607zLE+567JgnsRpxpI0iDLojSZZEEe9nuoWC9FTQ3x+e5UH oe9cA3L1mCZAMiQMftOPpnE69zKkYjrP5ONJnHL9mKdpnMpu38s8N/Sia/3s0w/ywXwxSRLdOV+E wZXsx1l1d5Z6kcC5mo+AThcQKPqzRRKUUxwFIiN2+HzKPiS4ZmH393oM2ibC8j1m99nwJYuTLPFS wR0JdYLfU4LbOOXAw0gwL0IoeMgIMmVBBIoeTbiz0SPIhI3b8dh9+dzxfN+VOGxrOIziYZLyLFsM SSzDOQdN8YU1IOhK87nIxpaEdqUQV0B7JN2xJTIQhTv1QsHbkU69PMzG52nOWx7PeJiMrY8zmAcW m8XIaamukg6pTMhtTUq/pzh7EEdZGofshHQfNAI4leYTIEdoEBAmm0Wxz0m/W/mTLIZBFGTD4xUc WbgI4kbr2QAErOTCW2TTUjYUpqqW5Mp5XbBIUP+U/3cepGC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 4bVRYRpM0Va/mieUCRFZGz9AVZdzQzoglUWs8YNwEjeMTONAztbIudJhJsCrsKydXcUFelPhVdbT 4cv1/a/yZSvNs7fKo1NyqoVpZqp/Jes2GVW/aHyyBgaRar01VZ36RXDtyJW4st6+RfNtSqiUWOg5 pj4GskiHR/mcbvBKlLIgo1+RUICVI1tLHNXAZGTVnKv09Nm/yjfVyvoFObPWPSP/16KSVYS/V2VR vvLXEEO5k66SwBv62w+JhFU3qoKBMPBQXJ16M4gmYe5ztlGJyZ3ZRnWJKucTyHSNo9JIRl10gREF JBJvwkFsxCi8CCJwQ3YaLWVL1dNq0hQbGIYPFuNXOmvG6LfYoiFxsski2iD17TcBsfnaNquqjjT0 WweYVuOTUJvM+J2x0YiZLGlhyBeL/yAsy+I4VEfm4b2YeakjZp91jjV//2lrt5n/2X32fRf/f41W +/tPV56Y9TYx64J/xwJfRKVf6s+BYBXPEoVhP+qAn1T5Za8neMaGMYviPIKv+mcSJHzqBaH+zdMU 32jt9dQfs/gXGAifzGK2geW2e+zb/9goeq6DjC7Bggz6//Ps5/1T993huXvw4f37w3MqhCY4q0rZ Hv1dEAywcTnCUmAIPoW9U14zsyG9+zzVSJbi8sGHWr3fe70NpOx/W3pd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXfv/1v4HkIH2jAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"