Date: Wed, 14 Sep 2022 16:25:11 +0200 From: Milan Obuch <freebsd-ports@dino.sk> To: ports@freebsd.org Subject: Re: invoking shell script at post-extract Message-ID: <20220914162511.5222c696@zeta.dino.sk> In-Reply-To: <7B6895D9-0DA6-4B4C-B8B7-CAF6C4DF4473@Chaos1.DE> References: <7B6895D9-0DA6-4B4C-B8B7-CAF6C4DF4473@Chaos1.DE>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Sep 2022 16:09:26 +0200 Axel Rau <Axel.Rau@Chaos1.DE> wrote: > Hi all, >=20 > I have a shell script in files which installs a bunch of packages. > Naively, I have tried: > - - - > post-extract: \ > ${SH} files/home2l_packages.sh > - - - > But it=E2=80=99s not invoked. >=20 > Any help apreciated, > Axel > Why the '\' after post-extract: target? In port's Makefiles it is not used. I did only quick check, not every Makefile :) but it may be somehow the reason... Another small thing to try is use ${.CURDIR}/files/home2l_packages.sh or ${FILESDIR}/home2l_packages.sh just in case your script file is not properly found. And you can verify ${SH} is properly set with some 'echo ${SH}' command somewhere... Those are three things coming into mind seeing your snippet, maybe it helps, maybe not. Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220914162511.5222c696>