#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2694f4b282bf07e855909e5820ff5ede5c4e3f74 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 H4sIAD64H2cAA+08/XPbtpL9WX8Fnt0MqVSibMexO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtv/yJX5u77/cpt/b +/v0Cd+2tnb3v9ne3d/a33/xYn9n75ut7e0XOzvfsK0vQEujZSJ1Esa+xlT/G9vmX0aZSEYTPxzx 8I7Fi3QWhTu9jY2NXlkr2JC95yFPnJSzo+++Y9MkmrNfAIAdf7R6vZ8FFwzhLUd4gcXYJz8IWDrz BZtwlvD7xE9THjJHQkms+O01zUTYbHuapVnCbZv58zhKUhYnfphCb+imfhT2eqpbLERPDfH43STz A8+6AeTqMU2AZEgY/KYfTaNk7qRIxXSeysdulHD9mCdJlMhuz0kdO3DCG/3s8/fywXzhxrHunC8C fyL7cVbdnSZOKHCu5iOg0wYEiv50EfvFFCe+SIkdHp+ysxjXLMz+QY9B20RYfsDMPhu+YlGcxk4i uCWhzvF7QnAbHznwMBTMCREKHjKCTJgfgqKHLrc2egQZs3E7HrMvn1uO59kSh2kMh2E0jBOeposh iWU456ApnjAGBF1pHhfp2JDQthTiCmiHpDs2RAqisKdOIHg70qmTBen4Msl4y+MZD+Kx8WkG88Bi 0wg5LdVV0iGVCbmtSen3FGePojBNooCdk+6DRgCnkswFcoQGAWGyWRh5nPS7lT/xYuiHfjo8XcGR hY0gdrieDUDASi68QzYtZUNuqmpJtpzXBosE9U/4f2d+AgbL73iy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