ejona86 / taus

Tetris - Actually Useful Statistics and other mods
MIT License
91 stars 3 forks source link

Fix compatibility with Ubuntu 18.04 #9

Closed ejona86 closed 4 years ago

ejona86 commented 4 years ago

This goes about compatibility a bit differently than #8. It makes itself compatible with dash instead of forcing bash. Forcing bash is fine, but fixing compatibility was a trivial change and improved readability. This also swaps to xxd unconditionally. It seems there are many copies of xxd floating between distributions, but all seem very old. Even Alpine has xxd, so it seems pretty safe.

In related news, TIL that cc65 is available on Ubuntu via a simple apt install cc65.

CC @rib, @TGGC

ejona86 commented 4 years ago

I forgot to mention: coreutils on Ubuntu 18.04 is 8.28, which supports the -x flag for split.