From df3c74765f353b2983b17cc06f0d6066ab1201c9 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sat, 19 Sep 2020 23:21:23 +0200 Subject: [PATCH] [aurup] store and revert current path --- scripts/aurup.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/aurup.fish b/scripts/aurup.fish index 5c6b9f0..39c8839 100755 --- a/scripts/aurup.fish +++ b/scripts/aurup.fish @@ -7,6 +7,8 @@ # License: GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html) for pkg in (auracle outdated | cut -d' ' -f1) +set -l pwd $PWG + cd ~/aur/ echo "Updating $pkg" cd $pkg @@ -27,3 +29,4 @@ for pkg in (auracle outdated | cut -d' ' -f1) makepkg -Ccsir cd .. end +cd $pwd