From nobody Tue Apr 18 10:58:04 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q119X3NMgz44vyc for ; Tue, 18 Apr 2023 10:58:08 +0000 (UTC) (envelope-from zirias@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q119X28Z0z4DWn for ; Tue, 18 Apr 2023 10:58:08 +0000 (UTC) (envelope-from zirias@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681815488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ho12UwhLxMEyjKV4gY7Ndjd3rrZK0L9zbKaGs/7awCw=; b=CZ1aMpVQOAXBVnNLvKfVgbJg2biTbd6Bk2YmZQyvrJ6YZy0yHc9bui5Xr0OQTuA93rKd6R fw76S4XvuIsNPfH4rpaPy6ZIBruBTjvXKJvROKD0VuxyTVQFLxFvwn3sMNR4//kd8VdpAs hVmO3d1fFL3fCPXxee7mp5z/A2WqjHjCt0hIPXnEEEC7nxhELBex5ySce9cluABJ61YMhi ck8Am7Liul/Cie6DIGXjm61rW0al0uzzscdHNQKTvKue1pk6oVOANOBzk7MoIAjUwdJfK4 6sEUfPJPC/hJ0I57xswCOTFj8Qzhim4oe4ctuoFUaIUIZmxGL4yTdODaNrf9Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681815488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Ho12UwhLxMEyjKV4gY7Ndjd3rrZK0L9zbKaGs/7awCw=; b=aN9z3eOwyfzzdQpbAMF+XesG6P3CGbVNn3r3XI2g5QIYEqXGncwvo17opPs2z8LxRCryFJ Vs7s5xrclHtqF/cnU6dGwrTTREUUJPRayzm86BGP75b8k8bSycwJLVBOcGWydGb6HGwJEE wsv2wHMMOeGx2WKAECI3ft8qZLGK9lOvoaYblULMELyB20MIeCJFSuvC6tFBNGmJVqNJXA oGeJcnj+wcgV6gorzEDBMDbXVjmxbfLwvi7/kV+pZkXglaLcZuqswuz8QKpk1kUllLjlRl C8dIetBfIwuaRNJEaJOaDeEWELfzecCzdGWE4QA38vpnl9cKW231kqi/H3QONA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681815488; a=rsa-sha256; cv=none; b=l94xulGODa62oA7K44V16qQgPulQ8yQ2YMDjpieWUGtDY4N4/Ua0MNfTCzWMopMPGrm39W h1FuBqHBaeC3M2jniH8G3njeZpJmYNPB87XO/YfLdmXVnWKeTcqNjd4X6/MFzP4lOutShq IvnxJ4u5SN5e/QCN4+NfYz8R949pZsNbpx2au6qoxtfTeR/tv/VOchjs2/L2b13LT5zMBn wbewv3F87D9ofIHGRd7KNd3R+NLZ53REA0WM62ftbrdRCHYfM1S7sARJ1oylwvewHiX9Nq f6sdULpL1bN5/LedS7QmdsvFFGCLPLQaQ68wjJ5ZiqGo+i6oMSJsZIl247DKnQ== Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: zirias/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q119X15w1z12KZ for ; Tue, 18 Apr 2023 10:58:08 +0000 (UTC) (envelope-from zirias@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ho12UwhLxMEyjKV4gY7Ndjd3rrZK0L9zbKaGs/7awCw=; b=gt3dlocdAUKxAh+lbiMlzU4o7z ZQ1l/EsCuUjisMSqlc9h4xToSt4fQwfKFCeFjWM6VJ7oGr/TbVXw8Hu/7DougOkqC7vs/PyhbBxIt rkARZrngwa+yZpHneZN6Djpas9oxRo7tqOktmqU6reV7d2VzjXV74w71Fq6HmiwXr4aT/MfVjryKY l6iQWkPVScz0mRhSiMB+HLzJxN5h8lkW0nrphXMR8DcBb7I35273on2NpSARAb19gmTeBJlmJzY5g P+y3O8ShCnXWcHPFG2YIG6qqGMgzAXA4HDwcXrassuXVEY1cI1tg7QbS2fBdviQtkU7KsdjPH4qgT HeB7ttFA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1poj2E-005OLf-Mc for ports@freebsd.org; Tue, 18 Apr 2023 12:58:06 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1poj2D-0009QB-QU for ports@freebsd.org; Tue, 18 Apr 2023 10:58:06 +0000 Date: Tue, 18 Apr 2023 12:58:04 +0200 From: Felix Palmen To: ports@freebsd.org Subject: Re: Get ${OSREL} at install time Message-ID: X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pxfna6y2trwq32ft" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230322 X-ThisMailContainsUnwantedMimeParts: N --pxfna6y2trwq32ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Nuno Teixeira [20230418 11:55]: > sed -E -e 's|stable\/12|stable\/${stable}|' -e [...] > sed doesn't subtitute as it uses literal variables The shell doesn't subsitute variables inside single quotes. Try double quotes instead. --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer (mentee) -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --pxfna6y2trwq32ft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZD53t18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MU2AAQDrbEyqM047az04tlknNrIvkN7fjtQOAtpN/qUsO+ugcQD/SKWZ2Pratyrc BGwOxwEDCrLqwDs4sL32UIg4gk4kEww= =byfG -----END PGP SIGNATURE----- --pxfna6y2trwq32ft--