aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-01-06 20:46:29 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-01-06 20:46:29 +0000
commit83373daa3571e8f11496bfed1618f9639e860b33 (patch)
tree27798c8ac00c65804c11108db3fe59fcc62ee973 /release/scripts
parent8f85f8e66e0df2bc10735eba13fd36f9fc84ca7c (diff)
downloadsrc-83373daa3571e8f11496bfed1618f9639e860b33.tar.gz
src-83373daa3571e8f11496bfed1618f9639e860b33.zip
Properly change directories before creating the
PKG_ALTABI -> PKG_ABI symlink. MFC after: 3 days X-MFC-With: r276765 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=276766
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/pkg-stage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh
index 2c2d6fefd37e..73c971fa7ee9 100755
--- a/release/scripts/pkg-stage.sh
+++ b/release/scripts/pkg-stage.sh
@@ -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.