Merge pull request #2148 from felixhandte/fix-2144
Don't Use `[[` in Shell Scripts
This commit is contained in:
+1
-1
@@ -267,7 +267,7 @@ test ! -f precompressedFilterTestDir/input.5.zst.zst
|
|||||||
test ! -f precompressedFilterTestDir/input.6.zst.zst
|
test ! -f precompressedFilterTestDir/input.6.zst.zst
|
||||||
file1timestamp=`$MTIME precompressedFilterTestDir/input.5.zst`
|
file1timestamp=`$MTIME precompressedFilterTestDir/input.5.zst`
|
||||||
file2timestamp=`$MTIME precompressedFilterTestDir/input.7.zst`
|
file2timestamp=`$MTIME precompressedFilterTestDir/input.7.zst`
|
||||||
if [[ $file2timestamp -ge $file1timestamp ]]; then
|
if [ $file2timestamp -ge $file1timestamp ]; then
|
||||||
println "Test is successful. input.5.zst is precompressed and therefore not compressed/modified again."
|
println "Test is successful. input.5.zst is precompressed and therefore not compressed/modified again."
|
||||||
else
|
else
|
||||||
println "Test is not successful"
|
println "Test is not successful"
|
||||||
|
|||||||
Reference in New Issue
Block a user