Fix for 4856. run-mozilla scripts were broken in release tarballs.

This commit is contained in:
ramiro%netscape.com 1999-04-09 21:41:23 +00:00
parent 8e1c2600de
commit dd683cee79
3 changed files with 13 additions and 8 deletions

View File

@ -132,3 +132,8 @@ show_objname:
@echo $(OBJDIR)
.PHONY: show_objname
RUN_MOZILLA_SCRIPT= $(topsrcdir)/build/run-mozilla.sh
export:: $(RUN_MOZILLA_SCRIPT)
$(INSTALL) $(RUN_MOZILLA_SCRIPT) $(DIST)/bin

View File

@ -28,18 +28,18 @@
## the viewer work.
##
tools=""
dist_bin=""
# Running from dist/bin
if [ -d components -a -d res ]
then
tools="../../build"
dist_bin="./"
else
# Running from source dir
if [ -f Makefile.in ]
then
tools=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`/build
dist_bin=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`/dist/bin
fi
fi
$tools/run-mozilla.sh viewer ${1+"$@"}
$dist_bin/run-mozilla.sh viewer ${1+"$@"}

View File

@ -28,18 +28,18 @@
## the apprunner work.
##
tools=""
dist_bin=""
# Running from dist/bin
if [ -d components -a -d res ]
then
tools="../../build"
dist_bin="./"
else
# Running from source dir
if [ -f Makefile.in ]
then
tools=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`/build
dist_bin=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`/dist/bin
fi
fi
$tools/run-mozilla.sh apprunner ${1+"$@"}
$dist_bin/run-mozilla.sh apprunner ${1+"$@"}