#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1cab0ea7b950d2a6628eacd2258a4c562afec034 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 H4sIALjSPGcAA+08/XPbNrL9WX8Fzm6GVCpRlmM3HV+VPNf5qN9zbI/tXl7H53JoErIYUyQfQdrW 3bR/+9tdAPyWZF+b3N0cMZNIAheLxX5hgV164dyK0QL+s+eOH1rx4qs/vm1Be7m7i5/jl7tj+j1+ +ZI+4dvW1s7Lr8Y7L8cvx7vj8Tb0j8cvxltfsa3PQEujZSJ1Esa+xFT/im3zT6NMJKNrPxzx8I7F i3QWhdu9jY2NXlkr2JC95yFPnJSzg2++YdMkmrOfAYAdnlm93k+CC4bwliO8wGLsox8ELJ35gl1z lvD7xE9THjJHQkms+O01zUTYbHuapVnCbZv58zhKUhYnfphCb+imfhT2eqpbLERPDfH43XXmB551 A8jVY5oAyZAw+E0/mkbJ3EmRiuk8lY/dKOH6MU+SKJHdnpM6duCEN/rZp+/kg/nCjWPdOV8E/rXs x1l1d5o4ocC5mo+AThsQKPrTRewXUxz5IiV2eHzKTmJcszD7ez0GbRNh+R4z+2z4ikVxGjuJ4JaE OsXvCcFtnHHgYSiYEyIUPGQEmTA/BEUPXW5t9AgyZpN2PGZfPrccz7MlDtMYDsNoGCc8TRdDEstw zkFTPGEMCLrSPC7SiSGhbSnEFdAOSXdiiBREYU+dQPB2pFMnC9LJRZLxlsczHsQT4+MM5oHFphFy WqqrpEMqE3Jbk9LvKc4eRGGaRAE7Jd0HjQBOJZkL5AgNAsJkszDyOOl3K3/ixdAP/XR4vIIjCxtB 7HA9G4CAlVx4h2xayobcVNWSbDmvDRYJ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0R+ElGeqaUkLWLgLKA9Egy+8/VRQljuRpXhMV psEUbfqreULpEJG28QNUdTk3pBdSqcQaPwgncaOUbhzI2RqJVzoB+ngflrazK79Fbyq8Sn1afLm+ /1m+EKd59k65dcpQtTCtnO9fybpNRiUwGp8shEGkWm/Lqk79wr+x5EpsWXTfovkmZVUKLPQc8x8D WanDw2xO13gFSlmV0a9IyMfyka0ljmpQZmTVnKv09Nnfi7cJiyIGObPWvVISsEUlqwh/rcqieH2z IYZiO10lgbf0B0BiCauuVQUDYeBNQnXqTT90g8zjbKNyGLBmG9UlqsSPL3M2lsollYqjc4woIBE7 LgexEaPwxojAS7LTaCllqp5WM6fYwDA8sBiv0lkzRq/FFksSJ5vMQw5S334TEJunbbOq6khDv3VA 2Wo8EmqTGb8yNhqxMktaGPI54j8Iy9IoCtQJffggZk5iidkfOsfqv/+Ff/7r23r+Z2dnu4v/v0Sr /f2va0fMepuYdcG/Y4LvCdMv9edgsIpnicKw73XAT1r8qtcTPGXDiIVRFsJX/TP2Yz51/ED/5kmC Lxz3euqPmfwdbIO7s4htYLntHvv6vzbynhs/pTs3P4X+/z3/cf/Mfn94YR+cfPhweEGF0ARnVCnb o78Lg7E1LkcYCgzBp7BtyqtoNqRX2KcayVJcHrhPo/drr7eBlP2zpde1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/4T2/8D3NE6ywB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"