Use LN_S instead of "ln -s" in Makefile

From: Ashwin Agrawal <aagrawal(at)pivotal(dot)io>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Use LN_S instead of "ln -s" in Makefile
Date: 2020-02-15 00:30:05
Message-ID: CALfoeiv5D8RfkQu_b5rbYQv0GnFEhZ5NuxTaJiGYVmxFwsRuKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In general, the variable LN_S is 'ln -s', however, LN_S changes to 'cp
-pR' if configure finds the file system does not support symbolic
links.

I was playing with 'ln' for some other reason where I symbolic linked
it to '/bin/false'. That revealed the failure for
src/backend/Makefile. Greping for 'ln -s' revealed three places it's
used. Attaching the patch to fix the same.

Attachment Content-Type Size
v1-0001-Use-LN_S-instead-of-ln-s-in-Makefile.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chapman Flack 2020-02-15 00:40:06 Re: Standards compliance of SET ROLE / SET SESSION AUTHORIZATION
Previous Message Tom Lane 2020-02-15 00:18:56 Re: Just for fun: Postgres 20?