#! /bin/bash # source: https://github.com/storaged-project/libbytesize/releases/download/1.4/libbytesize-1.4.tar.gz sed -i 's|canary_tests.sh$||g' tests/Makefile sed -i 's|DEFAULT_LOCALE =.*|DEFAULT_LOCALE = "C"|g' tests/libbytesize_unittest.py ./configure --prefix=/usr --with-python3 && read -p "Compile? " && make -j4 && read -p "Install? " && sudo -S porg -lD "make -j1 install"