#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=097f0d1d8bffee29127116a704a601d824bcf514 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 H4sIAI2qemcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afPtl5svVk95ut7e3drWffsK0vQEuj5SLzUsa+xlT/F9vmn0a5SEeXQTTi 0Q1LFtksjnZ6GxsbPVMr2JC94RFPvYyzw+++Y9M0nrNfAIAdfXB6vZ8FFwzhHU/4ocPYxyAMWTYL BLvkLOW3aZBlPGKehJJY8dsLmomwue40z/KUuy4L5kmcZixJgyiD3miSBXHU66lusRA9NcTnN5d5 EPrOFSBXj2kCJEPC4Df9aBqncy9DKqbzTD6exCnXj3maxqns9r3Mc0MvutLPPn0vH8wXkyTRnfNF GFzKfpxVd2epFwmcq/kI6HQBgaI/WyRBOcXbQGTEDp9P2fsE1yzs/n6PQdtEWL7P7D4bPmdxkiVe KrgjoU7we0pwGx848DASzIsQCh4ygkxZEIGiRxPubPQIMmHjdjx2Xz53PN93JQ7bGg6jeJikPMsW QxLLcM5BU3xhDQi60nwusrEloV0pxBXQHkl3bIkMROFOvVDwdqRTLw+z8Vma85bHMx4mY+vjDOaB xWYxclqqq6RDKhNyW5PS7ynOHsZRlsYhOyHdB40ATqX5BMgRGgSEyWZR7HPS71b+JIthEAXZ8HgF RxYugrjRejYAASu58BrZtJQNhamqJblyXhcsEtQ/5f/MgxQMlt/w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WscYPwkncMDKNAzlbI+dKh5kAr8KydnYVF+hNhVdZ T4cv1/c/y5etNM9eK49OyakWppmp/pWs22RU/aLxyRoYRKr11lR16hfBlSNX4sp6+xbNtymhUmKh 55j6GMgiHR7lc7rBK1HKgox+RUIBVo5sLXFUA5ORVXOu0tNn/y7fVCvrF+TMWveM/F+LSlYR/laV RfnKX0MM5U66SgKv6G8/JBJW3agKBsLAQ3F16s0gmoS5z9lGJSZ3ZhvVJaqcTyDTNY5KIxl10QVG FJBIvAkHsRGj8CKIwA3ZabSULVVPq0lTbGAYPliMX+msGaPfYouGxMkmi2iD1LffBMTma9usqjrS 0G8dYFqNT0JtMuM3xkYjZrKkhSFfLP6DsCyL41AdmYd3Yualjph91jnW/P2nrb1m/mdvd7uL/79G q/39p0tPzHqbmHXBv2OBL6LSL/XnQLCKZ4nCsB90wE+q/LzXEzxjw5hFcR7BV/0zCRI+9YJQ/+Zp im+09nrqj1n8GwyET2Yx28By23327V82ip6rIKNLsCCD/n+c/nTwwX1zdOYevn/37uiMCqEJzqpS tk9/FwQDbFyOsBQYgk9h75TXzGxI7z5PNZKluHzwoVbvt15vAyn735Ze17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWtf+v7X/AJHuj3gAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"