diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-15 21:45:23 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-15 21:45:23 -0400 |
| commit | 1568fa75bcf393977425ccb73752b98883a9f375 (patch) | |
| tree | 1e7484b81eae58e48c679581fa9e509900c529f2 /src/backend/Makefile | |
| parent | e1ccaff6eea1b48f4b9b28cabaf0f990119b0d19 (diff) | |
| download | postgresql-1568fa75bcf393977425ccb73752b98883a9f375.tar.gz | |
Use single quotes in preference to double quotes for protecting pathnames.
Per recommendation from Peter. Neither choice is bulletproof, but this
is the existing style and it does help prevent unexpected environment
variable substitution.
Diffstat (limited to 'src/backend/Makefile')
| -rw-r--r-- | src/backend/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile index bbc59f76c7..e156bb48aa 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -164,27 +164,27 @@ utils/probes.h: utils/probes.d # For headers generated during regular builds, we prefer a relative symlink. $(top_builddir)/src/include/parser/gram.h: parser/gram.h - prereqdir=`cd $(dir $<) >/dev/null && pwd` && \ - cd $(dir $@) && rm -f $(notdir $@) && \ + prereqdir=`cd '$(dir $<)' >/dev/null && pwd` && \ + cd '$(dir $@)' && rm -f $(notdir $@) && \ $(LN_S) "$$prereqdir/$(notdir $<)" . $(top_builddir)/src/include/catalog/schemapg.h: catalog/schemapg.h - prereqdir=`cd $(dir $<) >/dev/null && pwd` && \ - cd $(dir $@) && rm -f $(notdir $@) && \ + prereqdir=`cd '$(dir $<)' >/dev/null && pwd` && \ + cd '$(dir $@)' && rm -f $(notdir $@) && \ $(LN_S) "$$prereqdir/$(notdir $<)" . $(top_builddir)/src/include/utils/errcodes.h: utils/errcodes.h - cd $(dir $@) && rm -f $(notdir $@) && \ - $(LN_S) ../../../$(subdir)/utils/errcodes.h . + cd '$(dir $@)' && rm -f $(notdir $@) && \ + $(LN_S) "../../../$(subdir)/utils/errcodes.h" . $(top_builddir)/src/include/utils/fmgroids.h: utils/fmgroids.h - prereqdir=`cd $(dir $<) >/dev/null && pwd` && \ - cd $(dir $@) && rm -f $(notdir $@) && \ + prereqdir=`cd '$(dir $<)' >/dev/null && pwd` && \ + cd '$(dir $@)' && rm -f $(notdir $@) && \ $(LN_S) "$$prereqdir/$(notdir $<)" . $(top_builddir)/src/include/utils/probes.h: utils/probes.h - cd $(dir $@) && rm -f $(notdir $@) && \ - $(LN_S) ../../../$(subdir)/utils/probes.h . + cd '$(dir $@)' && rm -f $(notdir $@) && \ + $(LN_S) "../../../$(subdir)/utils/probes.h" . utils/probes.o: utils/probes.d $(SUBDIROBJS) |
