From 23e7c21f5ff1651f7a1459edce15716807997d90 Mon Sep 17 00:00:00 2001 From: storedbox Date: Fri, 13 Feb 2015 21:35:51 -0500 Subject: [PATCH] Collapsed unnecessarily verbose command combo When a path is passed to the `pushd` command, bash will push your _current_ directory to the top of the stack and then `cd` to whatever location you provided. There is no need to use two separate commands. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 93f8633131d..d7b7341ecc2 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,7 @@ sudo yum install curl freeglut-devel libtool gcc-c++ libXi-devel \ freetype-devel mesa-libGL-devel glib2-devel libX11-devel libXrandr-devel gperf \ fontconfig-devel cabextract ttmkfdir python python-virtualenv expat-devel \ rpm-build openssl-devel cmake bzip2-devel libXcursor-devel -pushd . -cd /tmp +pushd /tmp wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec rpmbuild -bb msttcorefonts-2.5-1.spec sudo yum install $HOME/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm