Fix bug in sync_dtd, thanks to freke

This commit is contained in:
2015-08-15 15:57:28 +02:00
parent 99ce48196c
commit 6cb94495e1

View File

@@ -9,7 +9,7 @@ einfo "updating dtd directory"
cd "${PORTDIR}"/metadata || die "could not cd into '${PORTDIR}/metadata'!"
if [[ -e dtd ]] ; then
einfo "dtd dir already exists, updating..."
cd glsa || die "could not cd into 'dtd'!"
cd dtd || die "could not cd into 'dtd'!"
git pull --ff || die "could not pull updates!"
else
einfo "dtd directory does not exist, cloning..."