diff options
| author | Tom Lane | 2011-06-16 01:45:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2011-06-16 01:45:23 +0000 |
| commit | 1568fa75bcf393977425ccb73752b98883a9f375 (patch) | |
| tree | 1e7484b81eae58e48c679581fa9e509900c529f2 /src/backend | |
| parent | e1ccaff6eea1b48f4b9b28cabaf0f990119b0d19 (diff) | |
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')
| -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 bbc59f76c73..e156bb48aa7 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) |
