From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 14 Jul 2006 20:08:33 -0000 Subject: [Cluster-devel] conga/luci cluster/Makefile homebase/Makefile ... Message-ID: <20060714200833.18294.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-07-14 20:08:33 Modified files: luci/cluster : Makefile luci/homebase : Makefile luci/storage : Makefile Log message: add quotes around shell test Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4 --- conga/luci/cluster/Makefile 2006/07/14 20:01:40 1.3 +++ conga/luci/cluster/Makefile 2006/07/14 20:08:33 1.4 @@ -5,7 +5,7 @@ # import page local page templates to the Luci server import: - @if test $(FILES); then \ + @if test "$(FILES)"; then \ ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/ $(FILES) ; \ else \ find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/ ; \ --- conga/luci/homebase/Makefile 2006/07/14 20:01:40 1.3 +++ conga/luci/homebase/Makefile 2006/07/14 20:08:33 1.4 @@ -5,7 +5,7 @@ # import page local page templates to the Luci server import: - @if test $(FILES); then \ + @if test "$(FILES)"; then \ ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/ $(FILES) ; \ else \ find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/ ; \ --- conga/luci/storage/Makefile 2006/07/14 20:01:41 1.3 +++ conga/luci/storage/Makefile 2006/07/14 20:08:33 1.4 @@ -5,7 +5,7 @@ # import page local page templates to the Luci server import: - @if test $(FILES); then \ + @if test "$(FILES)"; then \ ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/ $(FILES) ; \ else \ find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/ ; \