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