svn commit: r317260 - stable/11

Glen Barber gjb at FreeBSD.org
Fri Apr 21 16:47:58 UTC 2017


Author: gjb
Date: Fri Apr 21 16:47:57 2017
New Revision: 317260
URL: https://svnweb.freebsd.org/changeset/base/317260

Log:
  MFC r317100:
   Use relative symlink for 'latest' to allow repo to work after being
   moved.
  
  PR:		217197
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/Makefile.inc1
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/Makefile.inc1
==============================================================================
--- stable/11/Makefile.inc1	Fri Apr 21 16:47:09 2017	(r317259)
+++ stable/11/Makefile.inc1	Fri Apr 21 16:47:57 2017	(r317260)
@@ -1468,8 +1468,8 @@ sign-packages:	_pkgbootstrap .PHONY
 		-o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
 		${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
 		${PKGSIGNKEY} ; \
-	ln -s ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
-		${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/latest
+	cd ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI); \
+	ln -s ${PKG_VERSION} latest
 
 #
 #


More information about the svn-src-stable mailing list