#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=18d4a56eebae42e545a3be5cce765e3e271c047a 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 H4sIAKrjHmcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOn5Vcq7zUd8ltsd2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9rL58/xc/vl8236 vf3yJX3Ct62t3ZffbO++BJgX28+3oH97+9n2i2/Y1hegpdFykXkpY19jqv+NbfMvo1yko6sgGvHo liWLbBZHO72NjY1eVSvYkL3nEU+9jLOD775j0zSes18AgB2eOr3ez4ILhvCOJ/zQYexTEIYsmwWC XXGW8rs0yDIeMU9CSaz47TXNRNhcd5pnecpdlwXzJE4zlqRBlEFvNMmCOOr1VLdYiJ4a4vPbqzwI fecakKvHNAGSIWHwm340jdO5lyEV03kmH0/ilOvHPE3jVHb7Xua5oRdd62efv5cP5otJkujO+SIM rmQ/zqq7s9SLBM7VfAR0uoBA0Z8tkqCc4kMgMmKHz6fsOME1C7u/12PQNhGW7zG7z4avWJxkiZcK 7kioE/yeEtzGKQceRoJ5EULBQ0aQKQsiUPRowp2NHkEmbNyOx+7L547n+67EYVvDYRQPk5Rn2WJI YhnOOWiKL6wBQRvN5yIbWxLalUJcAe2RdMeWyEAU7tQLBW9HOvXyMBufpzlveTzjYTK2Ps1gHlhs FiOnpbpKOqQyIbc1Kf2e4uxBHGVpHLIT0n3QCOBUmk+AHKFBQJhsFsU+J/1u5U+yGAZRkA2PVnBk 4SKIG61nAxCwkgvvkE1L2VCYqlqSK+d1wSJB/VP+33mQgsH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0HyuKCkeKNK+NCtNg ijb91TyhdIjI2vgBqrqcG9ILqVRijR+Ek7hRSTcO5GyNxCsdDAO8D8va2VXcojcVXqU+Hb5c3/8q X4jTPHun3DplqFqYVs33r2TdJqMSGI1PFsIgUq23VVWnfhFcO3Ilriy6b9F8m7IqJRZ6jvmPgazU 4VE+p2u8EqWsyugbEgqwfGRriaMaVBlpmrNJT5/9o3ybsCxikDNr3askAVtU0kT4mymL8vXNhhjK 7XSVBN7SHwBJJKy6VhUMhIEXDObUm0E0CXOfsw3jjODMNswlqsRPIHM2jsolVYqjC4woIJF4Ew5i I0bhRRKBV2Sn0VLKVD01M6fYwDB8sBjf6KwZo99iixWJk00WIQepb78JiM3XtmmqOtLQbx1QtRqf hNpkxm+MjUasypIWhnyJ+A/CsiyOQ3VwH96LmZc6YvanzrH673/hn/96Uc//7D7f6uL/r9Fqf//r yhOz3iZmXfDvmOB7wvRL/TkYrOJZojDsBx3wkxa/6vUEz9gwZlGcR/BV/0yChE+9INS/eZriC8e9 nvpjJv8A2+CTWcw2sNx2j337bxtFz3WQ0VVckEH/f579tH/qvj88dw+OP348PKdCaIKzTMr26O/C YGyNyxGWAkPwKWyb8oaaDekV9qlGshSXD+7T6v3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8AIGUyUAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"