Properly change directories before creating the

PKG_ALTABI -> PKG_ABI symlink.

MFC after:	3 days
X-MFC-With:	r276765
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-01-06 20:46:29 +00:00
parent 8f85f8e66e
commit 83373daa35

View File

@ -47,7 +47,7 @@ export PKG_REPODIR="${DVD_DIR}/${PKG_ABI}"
/bin/mkdir -p ${PKG_REPODIR}
if [ ! -z "${PKG_ALTABI}" ]; then
ln -s ${PKG_ABI} ${PKG_ALTABI}
(cd ${DVD_DIR} && ln -s ${PKG_ABI} ${PKG_ALTABI})
fi
# Print pkg(8) information to make debugging easier.