[aurup] store and revert current path

This commit is contained in:
Marcel Kapfer 2020-09-19 23:21:23 +02:00
parent 13be70851a
commit df3c74765f
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -7,6 +7,8 @@
# License: GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html) # License: GPLv3 (https://www.gnu.org/licenses/gpl-3.0.en.html)
for pkg in (auracle outdated | cut -d' ' -f1) for pkg in (auracle outdated | cut -d' ' -f1)
set -l pwd $PWG
cd ~/aur/ cd ~/aur/
echo "Updating $pkg" echo "Updating $pkg"
cd $pkg cd $pkg
@ -27,3 +29,4 @@ for pkg in (auracle outdated | cut -d' ' -f1)
makepkg -Ccsir makepkg -Ccsir
cd .. cd ..
end end
cd $pwd