svn commit: r276766 - head/release/scripts

Glen Barber gjb at FreeBSD.org
Tue Jan 6 20:46:30 UTC 2015


Author: gjb
Date: Tue Jan  6 20:46:29 2015
New Revision: 276766
URL: https://svnweb.freebsd.org/changeset/base/276766

Log:
  Properly change directories before creating the
  PKG_ALTABI -> PKG_ABI symlink.
  
  MFC after:	3 days
  X-MFC-With:	r276765
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/release/scripts/pkg-stage.sh

Modified: head/release/scripts/pkg-stage.sh
==============================================================================
--- head/release/scripts/pkg-stage.sh	Tue Jan  6 20:42:50 2015	(r276765)
+++ head/release/scripts/pkg-stage.sh	Tue Jan  6 20:46:29 2015	(r276766)
@@ -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.


More information about the svn-src-all mailing list