git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix corruption in fonts.conf and prefer DejaVu fonts.
[profile.git]
/
opt
/
bin
/
became
diff --git
a/opt/bin/became
b/opt/bin/became
index
ca1a523
..
7f7abf1
100755
(executable)
--- a/
opt/bin/became
+++ b/
opt/bin/became
@@
-1,8
+1,6
@@
#!/bin/bash
file="${TMPDIR:-/tmp}/$SUDO_USER.became.$USER.$RANDOM.$$"
#!/bin/bash
file="${TMPDIR:-/tmp}/$SUDO_USER.became.$USER.$RANDOM.$$"
-( umask 077; echo "unset ENV POSIXLY_CORRECT; set +o posix" > "$file"; cat >> "$file"; echo "/bin/rm -f '$file'" >> "$file" )
+(
builtin
umask 077; echo "unset ENV POSIXLY_CORRECT; set +o posix" > "$file"; cat >> "$file"; echo "/bin/rm -f '$file'" >> "$file" )
exec </dev/tty env ENV="$file" POSIXLY_CORRECT=1 /bin/bash
exec </dev/tty env ENV="$file" POSIXLY_CORRECT=1 /bin/bash
-# Fall back to the shell.
-exec </dev/tty /bin/bash
exit 111
exit 111