File:  [mozdev] / demiurge / scripts / clean
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sat Mar 1 23:18:05 2003 UTC (16 years, 8 months ago) by petejc
Branches: MAIN
CVS tags: HEAD
setting up initial build configuration

--pete

#!/bin/sh

tmp_file=tmp00001;
jar_file=${moz_dist}/chrome/$code_name.jar
chrome_code_name=${moz_dist}/chrome/$code_name;
chrm_txt=${moz_dist}/chrome/installed-chrome.txt;
inst_file=${prefix}/install.js;
inst_file_jar=${prefix}/install.js.jar;
contents_rdf_file=${content_dir}/contents.rdf;
xul_file=${content_dir}/${code_name}.xul;

if [ -r $chrome_code_name ]; then 
  rm -rf $chrome_code_name;
fi

if [ -r $jar_file ]; then
  rm -rf $jar_file;
fi

if [ -r $chrm_txt ]; then
  echo > $chrm_txt;
fi

if [ -r $inst_file ]; then
  rm -rf $inst_file;
fi

if [ -r $inst_file_jar ]; then
  rm -rf $inst_file_jar;
fi

if [ -r $contents_rdf_file ]; then
  rm -rf $contents_rdf_file;
fi

if [ -r $xul_file ]; then
  rm -rf $xul_file;
fi

printf "Finished removing symlinks for $chrome_code_name . . .\n\n";

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