Bug 633895 /bin/sh: syntax error at line 4: `dirs=$' unexpected in services/sync r=rnewman a=mconnor
authorGinn Chen <ginn.chen@sun.com>
Tue, 01 Mar 2011 09:29:51 +0800
changeset 63187 e47efbba2fef05fe9e0d6e6bc2e7d6ae845b4ec7
parent 63186 4ff62915a2b4856b7b92a87b419a4587d49a3e73
child 63188 65c1d9309c578332074b200e4c4490f4e3b20705
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersrnewman, mconnor
bugs633895
milestone2.0b13pre
Bug 633895 /bin/sh: syntax error at line 4: `dirs=$' unexpected in services/sync r=rnewman a=mconnor
services/sync/Makefile.in
--- a/services/sync/Makefile.in
+++ b/services/sync/Makefile.in
@@ -67,18 +67,18 @@ PREF_JS_EXPORTS = $(srcdir)/services-syn
 # modules/services-sync/*.
 # 
 # Note that we find candidates, make directories, then 'copy' files.
 libs::
 ifndef NO_DIST_INSTALL
 	$(EXIT_ON_ERROR) \
 	HERE=$(CURDIR); \
 	cd $(srcdir)/modules; \
-	dirs=$$(find * -type d); \
-	files=$$(find * -type f); \
+	dirs=`find * -type d`; \
+	files=`find * -type f`; \
 	cd $$HERE; \
 	for d in $$dirs; do \
 		$(PYTHON) $(topsrcdir)/config/nsinstall.py -D $(FINAL_TARGET)/modules/services-sync/$$d; \
 	done; \
 	for i in $$files; do \
 		src=$(srcdir)/modules/$$i; \
 		dest=$(FINAL_TARGET)/modules/services-sync/$$i; \
 		$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(SYNC_PP_DEFINES) $$src > $$dest ; \