Date: Tue, 6 Jan 2015 20:46:30 +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: r276766 - head/release/scripts Message-ID: <201501062046.t06KkUPW021845@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501062046.t06KkUPW021845>