#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=424085be3605d98ccdf2d45a4a7288f060dc738c 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 H4sIAP9ujWYAA+08a3PbRpL5zF8xK8UF0CFBSZbllDa0T5Ef0Z0tqSxlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be/H8Of5uv3i+Tffb L17QL1xtbe2++GZ7d2/32c7ei2dbALe9/Wx79xu29QVoabRMSC9l7GsM9f+xbf5llIl0dBVEIx7d smQhZ3G009vY2OiVtYIN2Tse8dSTnB1+9x2bpvGc/QIA7Oij0+v9LLhgCO94wg8dxj4FYcjkLBDs irOU36WBlDxinoJSWPHqFY1E2Fx3msks5a7LgnkSp5IlaRBJeBpNZBBHvZ5+LBaip7v4/PYqC0Lf uQbk+jUNgGQoGLwyr6ZxOvckUjGdS/V6EqfcvOZpGqfqse9Jzw296Nq8+/y9ejFfTJLEPJwvwuBK PcdRzWOZepHAsZqvgE4XEGj65SIJiiHeB0ISO3w+ZScJzlnY/f0eg7aJsHyf2X02fMniRCZeKrij oE7xOiW4jY8ceBgJ5kUIBS8ZQaYsiEDRowl3NnoEmbBxOx67r947nu+7CodtDYdRPExSLuViSGIZ zjloii+sAUFXms+FHFsK2lVCXAHtkXTHlpAgCnfqhYK3I516WSjH52nGW17PeJiMrU8zGAcmK2Pk tFJXRYdSJuS2IaXf05w9jCOZxiE7Jd0HjQBOpdkEyBEGBITJZlHsc9LvVv4ki2EQBXJ4vIIjCxdB 3Gg9G4CAlVx4i2xayobcVPWUXDWuCxYJ6p/y/82CFA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m GNNfzRNKhwjZxg9Q1eXcUF5IpxJr/CCcxI1SunGgRmskXmnDGOB5mGxnV36K3lR4nfp0+HJ9/6v6 IM7w7K1265ShamFaOd+/knWbjEpgDD5VCINIjd6WVZ2ei+DaUTNxVdF9i+bblFUpsNB7zH8MVKUO j7I5HeMVKFVVRr8ioQDLR7aWOKpBmZFVc67S02f/KL4mLIoY1MhG90pJwBaVrCL8rSqL4vPNhhiK 5XSVBN7QHwBJFKw+VhUMhIEHD9WhN4NoEmY+ZxuVvYMz26hOUSd+ApWzcXQuqVQcnWNEAYnEm3AQ GzEKD5gIvCQ7g5ZSpvptNXOKDQzDB4vxKw9rxui32GJJ4mSTechB6ttvAmLzjW1WVR1p6Ld2KFuN T0JtMuM3xkYjVmZJC0O+RPwHYZmM41Bv6If3Yualjpj9qWOs/vtf+Oe/9ur5n93dvS7+/xqt9ve/ rjwx621i1gX/jgl+J0x3+s/BYBXPEoVhP5iAn7T4Za8nuGTDmEVxFsGluU2ChE+9IDT3PE3xg+Ne T/8xk3+AbfDJLGYbWG67z779j438yXUg6YgukPD8v89+Ovjovjs6dw9PPnw4OqdCaIKzqpTt09+F wdgapyMsDYbgU1g21ck1G9In7FODZCkuH9yn1fut19tAyv7V0uta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta/+O7f8AehoH+QB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"