]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: use readlink -f
authorJan Engelhardt <jengelh@medozas.de>
Fri, 17 Oct 2008 00:49:21 +0000 (20:49 -0400)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 17 Oct 2008 00:49:21 +0000 (20:49 -0400)
Coreutils 5.x does not know `readlink -e`; we can also use
`readlink -f` instead which is supported by 5.x.

extensions/GNUmakefile.in

index 03c02f11ee0728b13a0761fc948c376196235b60..44f11da2259495211f52c7e0263dd527e7068d93 100644 (file)
@@ -2,8 +2,8 @@
 
 top_srcdir      := @top_srcdir@
 srcdir          := @srcdir@
-abstop_srcdir   := $(shell readlink -e ${top_srcdir})
-abssrcdir       := $(shell readlink -e ${srcdir})
+abstop_srcdir   := $(shell readlink -f ${top_srcdir})
+abssrcdir       := $(shell readlink -f ${srcdir})
 
 ifeq (${abstop_srcdir},)
 $(error Path resolution of ${top_srcdir} failed)