#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=eec85b6680ffa773624d8c53efcd288ca623c356 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 H4sIAHhqoGYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqiQSQE9PT7+mZ7rBhXcjRgv45869IHKSxTd/ftuC9vL5c/zcfvl8m663 X76kT/i2tbX78pvt3RfPt7bg7+WLb7a2t59tP/uGbX0BWhotE9JLGfsaQ/1/bJt/GWUiHV0F0YhH tyxZyFkc7fQ2NjZ6Za1gQ/aeRzz1JGcH333Hpmk8Z78AADs8dXq9nwUXDOEdT/ihw9inIAyZnAWC XXGW8rs0kJJHzFNQCit+e00jETbXnWYyS7nrsmCexKlkSRpEEu5GExnEUa+nb4uF6OkuPr+9yoLQ d64BuX5MAyAZCga/mUfTOJ17EqmYzqV6PIlTbh7zNI1Tddv3pOeGXnRtnn3+Xj2YLyZJYm7OF2Fw pe7jqOa2TL1I4FjNR0CnCwg0/XKRBMUQHwIhiR0+n7LjBOcs7P5ej0HbRFi+x+w+G75icSITLxXc UVAn+D0luI1TDjyMBPMihIKHjCBTFkSg6NGEOxs9gkzYuB2P3VfPHc/3XYXDtobDKB4mKZdyMSSx DOccNMUX1oCgK83nQo4tBe0qIa6A9ki6Y0tIEIU79ULB25FOvSyU4/M04y2PZzxMxtanGYwDk5Ux clqpq6JDKRNy25DS72nOHsSRTOOQnZDug0YAp9JsAuQIAwLCZLMo9jnpdyt/ksUwiAI5PFrBkYWL IG60ng1AwEouvEM2LWVDbqp6Sq4a1wWLBPVP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4CygNRJyfoP1YUJY7kaV4bFabB FGP6q3lC6RAh2/gBqrqcG8oL6VRijR+Ek7hRSjcO1GiNxCttGAM8D5Pt7MpP0ZsKr1OfDl+u739V L8QZnr3Tbp0yVC1MK+f7V7Juk1EJjMGnCmEQqdHbsqrTfRFcO2omriq6b9F8m7IqBRZ6jvmPgarU 4VE2p2O8AqWqyuhXJBRg+cjWEkc1KDOyas5VevrsH8XbhEURgxrZ6F4pCdiiklWEv1VlUby+2RBD sZyuksBb+gGQRMHqY1XBQBh48FAdejOIJmHmc7ZR2Ts4s43qFHXiJ1A5G0fnkkrF0TlGFJBIvAkH sRGj8ICJwEuyM2gpZaqfVjOn2MAwfLAYv3KzZox+iy2WJE42mYccpL79JiA239hmVdWRhn5rh7LV +CTUJjN+Y2w0YmWWtDDkS8R/EJbJOA71hn54L2Ze6ojZnzrG6t//wp//elHP/+zuPu/i/6/Rar// deWJWW8Tsy74Oyb4njBd6Z+DwSqeJQrDfjABP2nxq15PcMmGMYviLIKv5jIJEj71gtBc8zTFF457 Pf1jJv8A2+CTWcw2sNx2j337Hxv5netA0hFdIOH+f5/9tH/qvj88dw+OP348PKdCaIKzqpTt0e/C YGyN0xGWBkPwKSyb6uSaDekV9qlBshSXD+7T6v3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtX/H9n/ZDf5NAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"