summaryrefslogtreecommitdiff
path: root/bin/ct
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ct')
-rwxr-xr-xbin/ct3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ct b/bin/ct
index 1464c64..9b0e34b 100755
--- a/bin/ct
+++ b/bin/ct
@@ -534,6 +534,7 @@ function check_prereqs {
typeset -a -U force_install install maybe_install
typeset warn info
typeset package=${1}
+ typeset pwd_orig=${PWD}
[[ -r ${PKG_DIR}/${package}/prereqs ]] || return 0
cd ${PKG_DIR}/${package}
@@ -633,6 +634,8 @@ function check_prereqs {
}
fi
}
+
+ cd ${pwd_orig}
}
# Write a package's documentation to .collected