<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts/env, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2020-07-12T12:29:28Z</updated>
<entry>
<title>scripts/env: Fix 56f813674a scripts/env: use command -v instead of which</title>
<updated>2020-07-12T12:29:28Z</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
</author>
<published>2020-07-12T12:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8242c6de29951fbb549355770cd685ffe3ac9c54'/>
<id>urn:sha1:8242c6de29951fbb549355770cd685ffe3ac9c54</id>
<content type='text'>
We don't need to see how git will be executed and it produces non silent
output on 'scripts/env diff' commands when there are no differences
unlike before.

Re-introduce original silent behaviour.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</content>
</entry>
<entry>
<title>scripts/env: fix remaining shellcheck warning</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-07-11T11:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=227e47b3ca964939f41c3564dd7da72d60044d00'/>
<id>urn:sha1:227e47b3ca964939f41c3564dd7da72d60044d00</id>
<content type='text'>
Fixes following shellcheck warning:

 In scripts/env line 25:
 	exit ${1:-1}
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>scripts/env: use read -r instead of read</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-06T02:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d'/>
<id>urn:sha1:5b7cace9e3f553ca54e1e0ec5f7651b7d7a2052d</id>
<content type='text'>
read mangles backslashes.

Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/env: exit in case of failure to cd</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-06T02:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f80a540dbf9bf87e15f0f29da7f4019064ee207d'/>
<id>urn:sha1:f80a540dbf9bf87e15f0f29da7f4019064ee207d</id>
<content type='text'>
Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/env: replace \! with !</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-06T02:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e68810ba5352d7db89a9975f2a2a8951fc9d5b2b'/>
<id>urn:sha1:e68810ba5352d7db89a9975f2a2a8951fc9d5b2b</id>
<content type='text'>
The latter is more standard. The former throws an error under
shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/env: use command -v instead of which</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-06T02:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=56f813674a912490df327304033bf667b285930a'/>
<id>urn:sha1:56f813674a912490df327304033bf667b285930a</id>
<content type='text'>
Simpler and built in to the shell.

Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/env: replace -a and -o with &amp;&amp;/||</title>
<updated>2020-01-02T22:56:19Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-01T02:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=995378a2a56d132594834a31c370d877c7d46d5c'/>
<id>urn:sha1:995378a2a56d132594834a31c370d877c7d46d5c</id>
<content type='text'>
The former are not well defined.

Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/env: use explicit find location</title>
<updated>2020-01-02T22:51:45Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-01-01T02:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2fe5319d587c9c66ecbd7acbd5efbc1ff6fac8a8'/>
<id>urn:sha1:2fe5319d587c9c66ecbd7acbd5efbc1ff6fac8a8</id>
<content type='text'>
Some find binaries do not imply the current directory.

Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>env: only use color diffs on terminals</title>
<updated>2018-05-05T07:44:43Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2018-04-10T22:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e495a050693952956a81847669b8b7888b4cd769'/>
<id>urn:sha1:e495a050693952956a81847669b8b7888b4cd769</id>
<content type='text'>
When sending script/env diff's output to a file or pipeline, you
don't want escape characters for ANSI color sequences fouling the
byte stream.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>env: allow passing a commit message on save</title>
<updated>2015-05-01T17:23:15Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-05-01T17:23:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f2277a967d949e89f36a57d59fb2b3830a3c5141'/>
<id>urn:sha1:f2277a967d949e89f36a57d59fb2b3830a3c5141</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;

SVN-Revision: 45592
</content>
</entry>
</feed>
