Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mail-b.sr.ht (Postfix) with ESMTPS id A81A1FF20D for <~qaul/community@lists.sr.ht>; Mon, 1 Jun 2020 01:51:56 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=pass (2048-bit key) header.d=alyssa.is header.i=@alyssa.is header.b=RkS+10H6; dkim=fail reason="key not found in DNS" (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=eld2AHL/ Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4B98752E; Sun, 31 May 2020 21:51:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 31 May 2020 21:51:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=TxGi261sUT0jnqOeg1ZH12n+5a uEZfuzc/KTOTShRPM=; b=RkS+10H6tEb5X5Gr7v3xM0HNaEDuRXDT1qBtXz521I TIkz4wuQsJjdSaE1Z7m3ZyLN+t+TFT0V817HXYN+Lk5RleD2v0IfmVd/3oc9oCP/ 5si61sqKk58+exm88ZnFPphH3SFjafxW/DBhFIKWLPmRSjunPNl457bZzwr6Bng7 mB8aNzl/K2NW/dpR3p2SovaiHtYDYtmo8wqrEFpW6ie80JRTfFI5verJzE4scecx o7uR9SkXMWbHs5EDPButf0+vGaCFcQayTfHmIqtza9HHHcPtwWbjNV/mhsT5nTm0 9ZORO/B+TFM8Yeh1Mc07jl8ppqWoBI1/aNFgm871BKpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TxGi26 1sUT0jnqOeg1ZH12n+5auEZfuzc/KTOTShRPM=; b=eld2AHL/8SDLLoXmNi0Yo9 XZwGLFBlbJC2BYWQnCTdTzRnJCWvPx8xwXvVeVvBWQ6nY+rhA22jbBUiRBDK2ZGB qN7Idez4F2KnrTpHAAbQA/taceLGkOh5Vx8EE60WAizePb8iM3bcyELPzW4j3dKH ed9ZMlo9mc5twcNA3eVyVVfGYvv0kPeXqPvPN2J+Qb7/Q6+Bxi46dUxHoomd/kU2 +/FjQVy+FOEJQce19oKru+j1wbe5yGvgXowunWGhy6gXUarT+XQtSY/4yCdj4Epv +rwYvs+1D0ZWNTLDPlS6XKIpOOAQ+KxxpRBge553lrABe6YKGqUafusnSLmJWeoA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefgedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehgtderre dttddtnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhs qeenucggtffrrghtthgvrhhnpedvuedviedvhefhieektddvvdehgfehffelveeuiefggf dtffffueejudejjeekjeenucfkphepjeelrddvfeehrdduudelrdduleegnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrg drihhs X-ME-Proxy: Received: from x220.qyliss.net (p4feb77c2.dip0.t-ipconnect.de [79.235.119.194]) by mail.messagingengine.com (Postfix) with ESMTPA id 3619C3060F09; Sun, 31 May 2020 21:51:53 -0400 (EDT) Received: by x220.qyliss.net (Postfix, from userid 1000) id 431D24B3; Mon, 1 Jun 2020 01:51:52 +0000 (UTC) From: Alyssa Ross To: ~qaul/community@lists.sr.ht, Katharina Fey Subject: Re: [PATCH 1/2] clients/android: don't override USER in build.sh In-Reply-To: <20200531181702.6226-1-hi@alyssa.is> References: <20200531181702.6226-1-hi@alyssa.is> Date: Mon, 01 Jun 2020 01:51:50 +0000 Message-ID: <87v9kba6yx.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > USER is a standard global environment variable that contains the name > of the current user. Previously, build.sh would reassign user to be > the id of the current user. This would break podman, which uses $USER > to find the name of the user to look up in /etc/subuid. > > Since environment variables are conventionally upper case, using > lowercase variable names in scripts avoids the problem of overriding > variables in the environment. > [snip] >=20 > if [ $1 =3D "dev" ]; then > echo "Attaching shell for repeated builds." > echo "Don't invoke gradle yourself! Use 'client/android/.build_neste= d.sh' instead!" > echo "Don't forget to run 'export USER=3D$USER GROUP=3D$GROUP'!" This should have been changed too, but I'm not sure what these instructions are actually for. I think the idea is that .build_nested.sh uses them, but looking at the source for that, it actually uses positional arguments instead. So I'm not really sure what to do with this until that's clarified. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAl7UXzYACgkQ+dvtSFmy ccBHkw//dfA9MTQODwAb8BL+rMMmo3Edbo8bwYL498xkRzdWfu9m9iu7VnI2nRyW 6pIuSq+XQYZMa9nifNfx2GL6SJX41Ds90tPHMfkrqna123UJIlW6upee5LENThJ+ 3SjKsZKmmu5XFFF2gVksG9XzhxtEE1JIJNkNngXWxYHoFTac9HsoVAz1pNlCa64K mnBFzW+/vMdJDGaPMwjALKecaTlMXewIjBDY20i4gbuB3eNUgcj+uvewSy9YlR6y 3Y/4r9JPl4Mro9N71/k7lMyOb9ZELzkDxpdS2SXcwDUYWjHpkwDJ9AitHKevhARh vJnX4ryyjhrqgdaYiTuu/IqC6r+zU1lhRXIIgTIF155m7QIVPjQSV2Tp38PzQZiV 1npIGYFScs6El7F0ZndC3FklUh2Y61wzEEVNHvmkoRJcaOkZPI0twSSeVZGdB0CS xJBLMoiuOXMBx9ZBWECCfUyWXRpvvCzvRcmKllR86v0eJclxpgh8JYq7aFfypBfV Bsr0k2r0/uyn3jkIysI5anU2b+TJL9qs1OALOAyIa8Yeene5r4Pjq3cnRSwhlfSL b+cmcU0i8SCdApQGYuonhHD954MM4v92c5PG1ol99jHEY6kdU9W+NgHH0uJxpu5s 6G2BtZy7IwwtJ09d91aAyuRphh8d23Dt9jp/eXaBL5H9X602GPA= =/7yM -----END PGP SIGNATURE----- --=-=-=--