#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5eaf087a737085f643d41715eb7bb7fbfcdfbb5f 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 H4sIAMDU4WYAA+08a3PbOJL5rF+BtSdFKiNRfuVR3lFyHucxvnMcV+zZuSmvh0WTkMWYInkEZVu7 NfPbr7sBkARJSc7OJFt3Q1TFkshGo19oNNCNLLwbMcozLxaTJJs56eLRH9+2oD3b26NPaLXP7b2d p7uPtveePd/afbqz9Xzn0db27vbO7iO29QVoabS5yL2MsUdZkuSr4Na9/z/aNjY2elX1syHL51nM psksueYxT+aCxWH0wvFEELGMpxkXPM7DJGZhnCdsynOeacjeAqypBukhbA+HmWTJjLnuZA4DcNdl 4SxNspylGSCCp7FPkAos4LdX8zAKHEDtIAEuoVV94lsvmvOB+nTLb3lbd6TK6G6/T4J5BL1OgfTM mw3YLAmgz6T44uaDHntIu8kXKSCiD+jERD5Tf/HXDb9PswfjOoqhy3lyw+MBOwuvYw8FNWAn3oyf A/q+ks1s4aepM1tE4ZVmKEquByz3rsVdmPtTBQckhfG1BvE9AdiPQ5H3ei4bY5derwessvcwBb7n Z4vZVRLZKMf+PtG7iRj4PrO1bPts+BJYy+htOCGZOzCq3Wd/GRe6cCSm/YLnzAsFZwdC8Aw1/CbL ksy23tyn3M95wCT4gF0nOXssLPaYMPWpe8bJGJF2RYWjwQnIEQYPyN16DhDqQj+5XMMMAj+YFQR+ MCMSWLIR5nymWTnXsxHQZuu5USbWI5AfT118ySQD9AgsYlqahsTHPIGk8JIxEAA+sAu+wRb7+4bZ KsRVFshg1Zh9AzhKfIAlW7at1Mun1oBZ/nQe38CXrQHb7SM/5x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KHVevidsW2JYrk6pMx3V/PZyk7OHt9XP+v PkqQnwpnhTzIwn52cnT8QlJV0Z+KFXGyQ2QOJppzH2QTiyTiH6hEy1aLZuVYAABJhucZV3d+TwkN /e4PCqRlF4VDb7rLkwtJA5Ujl/8ZSq34urdkZDrn+F0ja98JCwC/UzsMLDTnsvJJ2uVSKeMCgYuo wEtsYA933IK1K+Y8oKuOM9zgHH0sV0Od7TEOkIpABMzf1nX0dPxeDRKm3L8xwoQPcbSAVVVOfHoN EfarpatN8XwGD4t9mqNKw61piKUcl4ZOfq9dzP511ZgHym2hla7rVzKSNf3yhxlmbkGICbLUBaMk TZd2wa6rBGp4dFrZcYrKqJGokT68SkDNh8t5aj0W++ztwfnB8b7KBBSILrYuwS2t8gD4jN+Hub3d 72pB/hQt4Ld5kkSqoGt4L6Ze5ojpHzrG6vM/PP57Vjn/236E/yXY9l53/vc1Wu3878oT094mVt3j Pgb9BP1S20FcbJYYDPtOb17oFPtlryd4zoYJLE3zGL7qn2mYQiQXRvo3uB90OL2e2sz8E3wR96cJ 28Bd8z775j82iifXYU4lmmEOz//77IeDj+67o3P38MP790fndKxFcJZJ2T7tC/HkB9kRlgJD8EkI kSidgLMhLWETjWQpriCJudX7tdfbQMr+3drrWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWt/xva/qNGbgQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"