# HG changeset patch # User Igor Chubin # Date 1322478916 -7200 # Node ID a0daf0c3fa5239b21a190dddb8539aa468130d80 # Parent 8ee5e59f1bd324b5b6ff240c358ce06527a871b1 bsd fix diff -r 8ee5e59f1bd3 -r a0daf0c3fa52 l3bashrc --- a/l3bashrc Tue Mar 16 20:05:30 2010 +0200 +++ b/l3bashrc Mon Nov 28 13:15:16 2011 +0200 @@ -112,7 +112,12 @@ flush="-f" #linux [ -n "$bsd" ] && flush="-t 0" #freebsd export L3_PARENT_TTY=`/usr/bin/tty` + if [ -n "$bsd" ] + then + exec script $flush -q $L3_HOME/${L3_SESSION_ID}.script ${0#-} + else exec script $flush -c ${0#-} -q $L3_HOME/${L3_SESSION_ID}.script + fi } # ===================== STAGE 2 ============================