From d3827483b2d127bb630af6ad7cfe701b1bc3b143 Mon Sep 17 00:00:00 2001 From: Jan Clarin Date: Sun, 26 Mar 2017 03:02:57 -0600 Subject: [PATCH] Use $OLDPWD instead of ~- to return to previous directory --- tools/zim_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/zim_update b/tools/zim_update index f418b3a..5467685 100644 --- a/tools/zim_update +++ b/tools/zim_update @@ -11,4 +11,4 @@ git merge --ff-only @\{u\} git submodule update --init --recursive # return to previous directory after update -cd ~- +cd $OLDPWD