refactor!(posix) replace pushd with cd

This commit is contained in:
Tarek Arar
2022-08-21 06:51:01 +00:00
committed by AJ ONeal
parent fbcef3e583
commit be05abb043
5 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ set -u
main() {
webi_download
pushd ~/Downloads/webi 2>&1 > /dev/null
cd ~/Downloads/webi 2>&1 > /dev/null
if [ "Darwin" = "$(uname -s)" ]; then
curl -fsSL 'https://gist.githubusercontent.com/coolaj86/8c36d132250163011c83bad8284975ee/raw/5a291955813743c20c12ca2d35c7b1bb34f8aecc/create-bootable-installer-for-os-x-el-capitan.sh' -o create-bootable-installer-for-os-x-el-capitan.sh
@@ -28,7 +28,7 @@ main() {
echo "Created ~/Downloads/el-capitan.iso"
echo ""
popd 2>&1 > /dev/null
cd 2>&1 > /dev/null
}
main