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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to