Commit dd683cee authored by ramiro%netscape.com's avatar ramiro%netscape.com
Browse files

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

parent 8e1c2600
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+4 −4
Original line number Diff line number Diff line
@@ -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+"$@"}
+4 −4
Original line number Diff line number Diff line
@@ -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+"$@"}