Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1725)

Unified Diff: third_party/tcmalloc/vendor/packages/rpm.sh

Issue 9316021: Update the tcmalloc vendor branch to r144 (gperftools 2.0). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reuploading Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/vendor/packages/deb/rules ('k') | third_party/tcmalloc/vendor/packages/rpm/rpm.spec » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « third_party/tcmalloc/vendor/packages/deb/rules ('k') | third_party/tcmalloc/vendor/packages/rpm/rpm.spec » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698