You can now run -g as well as other parameters to hand over to the prog. Now allowing debuggers (gdb/ddd) to pass the arguments over to teh program. So if you do "mozilla -g foo" it will correctly pass foo as an argument to run (or prun as the case maybe) r=pavlov

This commit is contained in:
gagan%netscape.com 2000-03-16 03:39:46 +00:00
Родитель 543c544c01
Коммит e8e1ee73b3
1 изменённых файлов: 1 добавлений и 9 удалений

Просмотреть файл

@ -16,7 +16,7 @@
# Reserved.
#
## $Id: mozilla,v 1.5 2000-02-08 02:40:19 sspitzer%netscape.com Exp $
## $Id: mozilla,v 1.6 2000-03-16 03:39:46 gagan%netscape.com Exp $
##
## Usage:
##
@ -74,13 +74,5 @@ do
esac
done
# if you are debugging, you can't have moreargs
# for example, "./mozilla -g -mail" makes no sense.
if [ $debugging -eq 1 -a "x$moreargs" != "x" ]
then
echo "You can't have -g and $moreargs at the same time"
exit 1
fi
echo $dist_bin/run-mozilla.sh $script_args $MOZILLA_BIN $moreargs ${1+"$@"}
$dist_bin/run-mozilla.sh $script_args $MOZILLA_BIN $moreargs ${1+"$@"}