Index: third_party/tcmalloc/vendor/packages/rpm.sh |
diff --git a/third_party/tcmalloc/vendor/packages/rpm.sh b/third_party/tcmalloc/vendor/packages/rpm.sh |
old mode 100644 |
new mode 100755 |
index a655080ff898d74b1889595b116054bc4dd32670..448a0327f2a269d9b4f348c6fef3ed4d68f0d481 |
--- a/third_party/tcmalloc/vendor/packages/rpm.sh |
+++ b/third_party/tcmalloc/vendor/packages/rpm.sh |
@@ -52,7 +52,7 @@ cp "$archive" "$RPM_SOURCE_DIR" |
# does a better job of this, so if we can run 'dpkg --print-architecture' |
# to get the build CPU, we use that in preference of the rpmbuild |
# default. |
-target=`dpkg --print-architecture 2>/dev/null` # "" if dpkg isn't found |
+target=`dpkg --print-architecture 2>/dev/null || echo ""` |
if [ -n "$target" ] |
then |
target=" --target $target" |