become overhaul.
[profile.git] / opt / bin / became
1 #!/bin/bash
2
3 file="$(mktemp)"
4 if [ -n "$file" ]; then
5   ( umask 077; cat > "$file"; echo "/bin/rm -f '$file'" >> "$file" )
6   exec </dev/tty /bin/bash --rcfile "$file"
7 else
8 # Fall back to the shell.
9   exec </dev/tty /bin/bash
10 fi
11 exit 111