Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 285861
Collapse All | Expand All

(-)fwbuilder-3.0.7.orig/src/ipt/RoutingCompiler_ipt_writers.cpp (-2 / +2 lines)
Lines 147-155 Link Here
147
            << "#\n#\n# ============== ROUTING RULES ============== \n#"
147
            << "#\n#\n# ============== ROUTING RULES ============== \n#"
148
            << endl;
148
            << endl;
149
149
150
        compiler->output << "TMPDIRNAME=\"/tmp/.fwbuilder.tempdir.$$\"" << endl;
150
        compiler->output << "TMPDIRNAME=\"$(umask 077 && mktemp --tmpdir=/tmp -d .fwbuilder.tempdir.XXXXXXXXXX)\"" << endl;
151
        compiler->output << "[ $? != 0 ] && exit 1" << endl;
151
        compiler->output << "TMPFILENAME=\"$TMPDIRNAME/.fwbuilder.out\"" << endl;
152
        compiler->output << "TMPFILENAME=\"$TMPDIRNAME/.fwbuilder.out\"" << endl;
152
        compiler->output << "(umask 077 && mkdir $TMPDIRNAME) || exit 1" << endl;
153
        compiler->output << endl;
153
        compiler->output << endl;
154
154
155
        compiler->output << "# This function stops stdout redirection"
155
        compiler->output << "# This function stops stdout redirection"

Return to bug 285861