Skip to content

Commit

Permalink
Don't use cd to create symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Jun 2, 2018
1 parent d915a33 commit b5eaf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/port/Makefile.in
Expand Up @@ -38,8 +38,8 @@ install: all mkdirs
$(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${DESTDIR}${INSTALLDIR}/bin"
$(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${DESTDIR}${INSTALLDIR}/var/macports"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 555 port portindex portmirror "${DESTDIR}${INSTALLDIR}/bin/"
cd "${DESTDIR}${INSTALLDIR}/bin" && $(LN_S) -f port portf
cd "${DESTDIR}${INSTALLDIR}/bin" && $(LN_S) -f "${TCLSH}" port-tclsh
$(LN_S) -f port "${DESTDIR}${INSTALLDIR}/bin/portf"
$(LN_S) -f "${TCLSH}" "${DESTDIR}${INSTALLDIR}/bin/port-tclsh"
ifneq (,$(findstring darwin,@build_os@))
ifneq (8,@OS_MAJOR@)
chmod -h 555 "${DESTDIR}${INSTALLDIR}/bin/portf" "${DESTDIR}${INSTALLDIR}/bin/port-tclsh"
Expand Down

0 comments on commit b5eaf4f

Please sign in to comment.