Skip to content

Commit 402dca3

Browse files
mirabilosmirabilos
authored andcommitted
add a warning for a common user mistake
1 parent e3e0aa5 commit 402dca3

File tree

1 file changed

+6
-0
lines changed
  • mksh/debian-dev

1 file changed

+6
-0
lines changed

mksh/debian-dev/c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
unset LANGUAGE
3333
export LC_ALL=C
3434

35+
if [[ -n $DEB_BUILD_OPTIONS ]]; then
36+
# lest sudo does not carry them over
37+
print -ru2 -- 'W: set options like DEB_BUILD_OPTIONS after the REALDIST'
38+
sleep 3
39+
fi
40+
3541
if (( USER_ID == 0)) && [[ -z ${SUDO+set} ]]; then
3642
# already root so omit the sudo call by default
3743
SUDO=

0 commit comments

Comments
 (0)