Fix bug in sync_dtd, thanks to freke

This commit is contained in:
hasufell 2015-08-15 15:57:28 +02:00
parent 99ce48196c
commit 6cb94495e1
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 1 deletions

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..."