Fix for 4856. run-mozilla scripts were broken in release tarballs.
git-svn-id: svn://10.0.0.236/trunk@26890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2e9db187ae
commit
235eb640dd
@ -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
|
||||
|
||||
@ -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+"$@"}
|
||||
|
||||
@ -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+"$@"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user