fix bashism. Thanks @Jojo-Schmitz