Skip to content

Commit

Permalink
Merge branch 'topic/identify-developer-subshell'
Browse files Browse the repository at this point in the history
Close #205
  • Loading branch information
foretspaisibles committed Jun 6, 2016
2 parents f17fa9a + 05bb2ce commit ed97ef8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bps/bps.project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@
#
# SUBSHELLDIR [not set]
# A folder to change to before popping up a subshell

#
#
# _BSDOWL_SUBSHELL
# A variable set to yes if we are in a developer's subshell

# Targets:
#
Expand Down Expand Up @@ -393,7 +396,7 @@ PROJECTENV+= PATH="${PROJECTLIBRARYSHELL}:${PATH}"
SUBSHELLDIR?= ${.CURDIR}
subshell: .PHONY
${INFO} "Entering developper's subshell"
@(cd ${.CURDIR} && cd ${SUBSHELLDIR} && ${ENVTOOL} ${PROJECTENV} ${SHELL})
@(cd ${.CURDIR} && cd ${SUBSHELLDIR} && ${ENVTOOL} _BSDOWL_SUBSHELL=yes ${PROJECTENV} ${SHELL})
${INFO} "Exiting developper's subshell"

# Remove the global product file before generating dependencies
Expand Down

0 comments on commit ed97ef8

Please sign in to comment.