Use $OLDPWD instead of ~- to return to previous directory
This commit is contained in:
parent
0db07b21d9
commit
d3827483b2
1 changed files with 1 additions and 1 deletions
|
@ -11,4 +11,4 @@ git merge --ff-only @\{u\}
|
|||
git submodule update --init --recursive
|
||||
|
||||
# return to previous directory after update
|
||||
cd ~-
|
||||
cd $OLDPWD
|
||||
|
|
Loading…
Reference in a new issue