#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f7dff0957d4ba51d3e64791b3d72e5b5bd768fa2 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 H4sIAFYcu2cAA+08/XPbtpL9WX8Fnt0MyVSibMeJO3pVcq7zUd8ljid2X6/j53JoErIYUySPoGzr vWn/9ttdACRBUZJzTfJu7oiZWBK4WOwXFotdMAv/RgyL3E/EJM1nbrb45vO3HWjP9vfxc/fg6S79 3tvZoU/o2t97+uSb3f2Dp8+e7T49ePb0m53d3SfQxXa+AC1LbS4KP2fsa0z1v7FtbW316upnA1bM 84RN01l6zROezgVLovh71xdhzHKe5VzwpIjShEVJkbIpL3iuIXsLsKYGpI+wPZxmkqcz5nmTOUzA PY9FsyzNC5blgAh6k4AgFVjIb6/mURy6gNpFAjxCq8Ykt34853316VXfirbhSJUx3H6XhvMYRp0C 6bk/67NZGsKYSfnFK/o99pB2UywyQEQfMIiJYqb+4q8bfp/lD8Z1nMCQ8/SGJ312Fl0nPgqqz078 GT8H9I6SzWwRZJk7W8TRlWYoTq/7rPCvxV1UBFMFByRFybUGCXwB2N9Gouj1PDbGIb1eD1hl72AJ /MjPFrOrNLZRjs6I6N1GDHzEbC1bhw2eA2s5PY0mJHMXZrUd9pdxqQtXYhqVPOd+JDg7FILnqOFX eZ7mtvXqPuNBwUMmwfvsOi3YI2GxR4TJoeE5J2NE2hUVrgYnIFcYPCB3mzlAqAvdc7mBGQR+MCsI /GBGJLBkIyr4TLNyrlcjoM03c6NMrEcgP596+JBJBqgLLGJamYbEx3yBpPCKMRAAdtgl32CLzsgw W4W4zgIZrJrTMYDjNABYsmXbyvxiavWZFUznyQ182emz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