summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/mozclient.mk.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 960b483..20a1261 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -40,7 +40,7 @@ extra_mk_files = \
%.mk: %.mk.in
cat $< | sed \
-e "s|^\(include\) \(.*\)\.in|\1 $(DATADIR)/\2|" \
- -e "s|^\(MOZCLIENT_EXCLUDE_SCRIPT.*=[ ][ ]*\)\(.*\)|\1$(DATADIR)/\2|" \
+ -e "s|^\(MOZCLIENT_EXCLUDE_SCRIPT.*=[ ][ ]*\)\(.*/\)\(.*\)|\1$(DATADIR)/\3|" \
> $@
chmod 644 $@
diff --git a/src/mozclient.mk.in b/src/mozclient.mk.in
index 4dcc98d..df64d9d 100644
--- a/src/mozclient.mk.in
+++ b/src/mozclient.mk.in
@@ -81,7 +81,7 @@ MOZCLIENT_CVS_LOC = :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
MOZCLIENT_STAMP ?= stamped
MOZCLIENT_TMP := mozclient-tmp
-MOZCLIENT_EXCLUDE_SCRIPT := remove.binonly.sh
+MOZCLIENT_EXCLUDE_SCRIPT := ../../remove.binonly.sh
NOBINONLY := nobinonly
TAR_EXCLUDE := --exclude=CVS --exclude=.cvsignore
@@ -168,7 +168,7 @@ mozclient-checkout:
# Remove bin-only files using the remove.binonly.sh script.
# Keep a log in REMOVED+nobinonly.txt
mozclient-remove-bin:
- cd $(MOZCLIENT_TMP)/mozilla && sh ../../$(MOZCLIENT_EXCLUDE_SCRIPT) > REMOVED+$(NOBINONLY).txt 2>&1
+ cd $(MOZCLIENT_TMP)/mozilla && sh $(MOZCLIENT_EXCLUDE_SCRIPT) > REMOVED+$(NOBINONLY).txt 2>&1
if [ ! -s $(MOZCLIENT_TMP)/mozilla/REMOVED+$(NOBINONLY).txt ] ; then rm $(MOZCLIENT_TMP)/mozilla/REMOVED+$(NOBINONLY).txt ; fi
# Pack