Fixed typo

This commit is contained in:
jysh1214 2023-08-01 10:43:33 +08:00 committed by alexsifivetw
parent eb9f881eb8
commit e99d554903

View File

@ -16,18 +16,18 @@ datagen() {
}
zstd() {
if [ -z "$EXEC_PREFIX" ]; then
if [ -z "$EXE_PREFIX" ]; then
"$ZSTD_BIN" "$@"
else
"$EXEC_PREFIX" "$ZSTD_BIN" "$@"
"$EXE_PREFIX" "$ZSTD_BIN" "$@"
fi
}
sudoZstd() {
if [ -z "$EXEC_PREFIX" ]; then
if [ -z "$EXE_PREFIX" ]; then
sudo "$ZSTD_BIN" "$@"
else
sudo "$EXEC_PREFIX" "$ZSTD_BIN" "$@"
sudo "$EXE_PREFIX" "$ZSTD_BIN" "$@"
fi
}