20878: Improve processed RPM check style
[arvados.git] / build / run-library.sh
index 6d5d0b6535aa13c24fa699531f445e380cb906a4..12fb34f65f74692193eec290fa2fc3bea9fb3481 100755 (executable)
@@ -468,7 +468,7 @@ test_package_presence() {
       if curl -fs -o "$WORKSPACE/packages/$TARGET/$full_pkgname" "$rpm_url"; then
         echo "Package $full_pkgname exists upstream, not rebuilding, downloading instead!"
         return 1
-      elif test -f "$WORKSPACE/packages/$TARGET/processed/${full_pkgname}" ; then
+      elif [[ -f "$WORKSPACE/packages/$TARGET/processed/$full_pkgname" ]]; then
         echo "Package $full_pkgname exists, not rebuilding!"
         return 1
       else