Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 19:44:34 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317100 - head
Message-ID:  <201704181944.v3IJiYEN066883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Tue Apr 18 19:44:34 2017
New Revision: 317100
URL: https://svnweb.freebsd.org/changeset/base/317100

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

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Apr 18 19:36:58 2017	(r317099)
+++ head/Makefile.inc1	Tue Apr 18 19:44:34 2017	(r317100)
@@ -1522,8 +1522,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
 
 #
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704181944.v3IJiYEN066883>