Replace cat<<EOF with echos to avoid potential security risk with predictable /tmp files.

Thanks to Ashu Kulkarni <ashuk@eng.sun.com> for the patch.
Bug #98723 r=cls a=blizzard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_0_9_4_BRANCH@102593 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2001-09-08 19:16:27 +00:00
parent 84ca3e46fc
commit 43082cc7d3

View File

@@ -72,37 +72,34 @@ exitcode=0
##########################################################################
moz_usage()
{
cat << EOF
Usage: ${cmdname} [options] [program]
options:
-g Run in debugger.
--debug
-d debugger Debugger to use.
--debugger debugger
Examples:
Run the viewer
${cmdname} viewer
Run the mozilla-bin binary
${cmdname} mozilla-bin
Debug the viewer in a debugger
${cmdname} -g viewer
Debug the mozilla-bin binary in gdb
${cmdname} -g mozilla-bin -d gdb
EOF
echo "Usage: ${cmdname} [options] [program]"
echo ""
echo " options:"
echo ""
echo " -g Run in debugger."
echo " --debug"
echo ""
echo " -d debugger Debugger to use."
echo " --debugger debugger"
echo ""
echo " Examples:"
echo ""
echo " Run the viewer"
echo ""
echo " ${cmdname} viewer"
echo ""
echo " Run the mozilla-bin binary"
echo ""
echo " ${cmdname} mozilla-bin"
echo ""
echo " Debug the viewer in a debugger"
echo ""
echo " ${cmdname} -g viewer"
echo ""
echo " Debug the mozilla-bin binary in gdb"
echo ""
echo " ${cmdname} -g mozilla-bin -d gdb"
echo ""
return 0
}
##########################################################################