File:  [mozdev] / chameleon / scripts / debug_off
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Aug 25 22:00:38 2001 UTC (16 years, 3 months ago) by petejc
Branches: MAIN
CVS tags: HEAD
adding debug scripts

--pete

#!/bin/sh

CONTAINER=${PACKAGE_NAME}
GLOBALS_JS=${SRC_DIR}/${CVS_MOD}/${PACKAGE_NAME}/$CONTAINER/content/js/globals.js;

if test -f $GLOBALS_JS
then
printf "Turning DEBUG OFF \n$GLOBALS_JS\n";
sed -e 's:ON;:OFF;:g' $GLOBALS_JS > tmp0000;
mv tmp0000 $GLOBALS_JS;
printf "\n\nFinished . . .\n";

else
printf "\n\n$GLOBALS_JS file not found . . .\n";
fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>