aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint
diff options
context:
space:
mode:
Diffstat (limited to 'sbopkglint')
-rwxr-xr-xsbopkglint3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbopkglint b/sbopkglint
index c7f88f7..9b3a95a 100755
--- a/sbopkglint
+++ b/sbopkglint
@@ -449,6 +449,7 @@ for package in $packages; do
echo "OK"
rm -f $PKG/.tmp.$$
+ olddir="$( pwd )"
cd "$PKG"
totalwarns=0
@@ -473,6 +474,8 @@ for package in $packages; do
rm -f .tmp.warncount
done
+ cd "$olddir"
+
[ "$KEEP" = "" ] && rm -rf "$PKG"
if [ "$foundtests" = "0" ]; then