Re: [PATCH 33/40] When installing, be prepared that template_dir may be relative.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 28, 2008, 15:45 UTC
- Message-ID
- <alpine.LSU.1.00.0802281542000.22527@racer.site>
- In-Reply-To
- <1204138503-6126-34-git-send-email-johannes.sixt@telecom.at>
Hi,
On Wed, 27 Feb 2008, Johannes Sixt wrote:
Show 5 quoted lines
> @@ -1094,6 +1094,13 @@ remove-dashes: > > ### Installation rules > > +ifeq ($(firstword $(subst /, ,$(template_dir))),..)
How portable is "firstword"? Would it not be better to use
ifneq ($(patsubst ../%,,$(template_dir)),)
Hmm?
Ciao, Dscho