Only popd if downloading ci

This commit is contained in:
sophia 2020-10-27 09:51:29 -05:00
parent 407cb267b8
commit f97ea26447

View File

@ -37,13 +37,13 @@ if [ ! -e "${ldir}/.complete" ]; then
# Mark that we have pulled files
touch .complete || echo "WARNING: Failed to mark CI files as fetched"
fi
# Time to load and configure
if ! popd; then
echo "⁉ ERROR: Unexpected error, failed to relocate to expected directory ⁉"
exit 1
fi
fi
source "${ldir}/common.sh"
export PATH="${PATH}:${ldir}"