Disallow empty output directory

This commit is contained in:
Elliot Gorokhovsky
2022-07-29 14:48:33 -07:00
parent e1873ad576
commit f9f27de91c
4 changed files with 27 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
println "+ zstd -r * --output-dir-mirror=\"\""
zstd -r * --output-dir-mirror="" && die "Should not allow empty output dir!"
println "+ zstd -r * --output-dir-flat=\"\""
zstd -r * --output-dir-flat="" && die "Should not allow empty output dir!"
exit 0