mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
Fix for 4856. run-mozilla scripts were broken in release tarballs.
This commit is contained in:
parent
8e1c2600de
commit
dd683cee79
@ -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