mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
refactor!(posix) replace pushd with cd
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user