Commit Graph

19 Commits (0a3350d908ec466206f58b9e6b300c49e4fb3b13)

Author SHA1 Message Date
Rosen Penev 995378a2a5 scripts/env: replace -a and -o with &&/||
The former are not well defined.

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-02 23:56:19 +01:00
Rosen Penev 2fe5319d58 scripts/env: use explicit find location
Some find binaries do not imply the current directory.

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-02 23:51:45 +01:00
Philip Prindeville e495a05069 env: only use color diffs on terminals
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 <philipp@redfish-solutions.com>
2018-05-05 09:44:43 +02:00
Jo-Philipp Wich f2277a967d env: allow passing a commit message on save
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45592
2015-05-01 17:23:15 +00:00
Felix Fietkau dcb5d00875 scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41407
2014-06-30 06:50:22 +00:00
Florian Fainelli e50315d61c env: colorize git output
SVN-Revision: 30602
2012-02-16 19:24:34 +00:00
Felix Fietkau a97304cf61 scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
SVN-Revision: 29262
2011-11-19 17:15:53 +00:00
Felix Fietkau 6b929e2687 scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)
SVN-Revision: 29261
2011-11-19 17:15:50 +00:00
Felix Fietkau b9eb659364 scripts/env: fix indentation (patch by Rolf Leggewie)
SVN-Revision: 29260
2011-11-19 17:15:45 +00:00
John Crispin e42e2b3e9c path expansion was broken due to a badly quoted *
Signed-of-by: Benjamin Cama <benoar@dolka.fr>

SVN-Revision: 26391
2011-04-01 11:07:27 +00:00
Felix Fietkau 0e1337ea47 scripts/env: fix initialization of files/ when creating a new environment (patch from #7603)
SVN-Revision: 22336
2010-07-21 17:49:52 +00:00
Felix Fietkau 02052624df scripts/env: fix file syncing on env switch
SVN-Revision: 12925
2008-10-08 19:15:26 +00:00
Lars-Peter Clausen 5ac7398565 Restore config after running scripts/env diff.
SVN-Revision: 12632
2008-09-18 20:45:12 +00:00
Felix Fietkau 973d7e80d7 fix ./scripts/env for newer git versions
SVN-Revision: 12502
2008-09-02 15:48:40 +00:00
Felix Fietkau 1063f8d415 fix ./scripts/env delete
SVN-Revision: 12399
2008-08-27 14:13:47 +00:00
Felix Fietkau 2311fc9850 replace the deprecated git-* command calls with git *
SVN-Revision: 12379
2008-08-24 13:40:21 +00:00
Felix Fietkau 1391134579 and another one
SVN-Revision: 12217
2008-08-06 16:14:53 +00:00
Felix Fietkau 88b0d6785e fix a small typo
SVN-Revision: 12216
2008-08-06 16:13:38 +00:00
Felix Fietkau 131ba6fed7 add script for managing 'build environments' (.config+files/), including documentation
SVN-Revision: 12212
2008-08-06 14:30:46 +00:00