aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/env
Commit message (Collapse)AuthorAgeFilesLines
* scripts/env: Fix 56f813674a scripts/env: use command -v instead of whichKevin Darbyshire-Bryant2020-07-121-1/+1
| | | | | | | | | | 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 <ldir@darbyshire-bryant.me.uk>
* scripts/env: fix remaining shellcheck warningPetr Štetiar2020-07-111-1/+1
| | | | | | | | | | 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 <ynezz@true.cz>
* scripts/env: use read -r instead of readRosen Penev2020-07-111-1/+1
| | | | | | | | read mangles backslashes. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* scripts/env: exit in case of failure to cdRosen Penev2020-07-111-1/+1
| | | | | | Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* scripts/env: replace \! with !Rosen Penev2020-07-111-2/+2
| | | | | | | The latter is more standard. The former throws an error under shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* scripts/env: use command -v instead of whichRosen Penev2020-07-111-1/+1
| | | | | | | | Simpler and built in to the shell. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* scripts/env: replace -a and -o with &&/||Rosen Penev2020-01-021-5/+5
| | | | | | | | The former are not well defined. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* scripts/env: use explicit find locationRosen Penev2020-01-021-1/+1
| | | | | | | | Some find binaries do not imply the current directory. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* env: only use color diffs on terminalsPhilip Prindeville2018-05-051-1/+1
| | | | | | | | 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>
* env: allow passing a commit message on saveJo-Philipp Wich2015-05-011-2/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45592
* scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)Felix Fietkau2014-06-301-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41407
* env: colorize git outputFlorian Fainelli2012-02-161-2/+2
| | | | SVN-Revision: 30602
* scripts/env: improve the wording of the question when starting repository ↵Felix Fietkau2011-11-191-1/+1
| | | | | | (patch by Rolf Leggewie) SVN-Revision: 29262
* scripts/env: make mv and cp operations more robust (treat dotfiles ↵Felix Fietkau2011-11-191-0/+4
| | | | | | appropriately) (based on patch by Rolf Leggewie) SVN-Revision: 29261
* scripts/env: fix indentation (patch by Rolf Leggewie)Felix Fietkau2011-11-191-1/+1
| | | | SVN-Revision: 29260
* path expansion was broken due to a badly quoted *John Crispin2011-04-011-2/+2
| | | | | | Signed-of-by: Benjamin Cama <benoar@dolka.fr> SVN-Revision: 26391
* scripts/env: fix initialization of files/ when creating a new environment ↵Felix Fietkau2010-07-211-1/+2
| | | | | | (patch from #7603) SVN-Revision: 22336
* scripts/env: fix file syncing on env switchFelix Fietkau2008-10-081-1/+1
| | | | SVN-Revision: 12925
* Restore config after running scripts/env diff.Lars-Peter Clausen2008-09-181-0/+1
| | | | SVN-Revision: 12632
* fix ./scripts/env for newer git versionsFelix Fietkau2008-09-021-3/+1
| | | | SVN-Revision: 12502
* fix ./scripts/env deleteFelix Fietkau2008-08-271-2/+3
| | | | SVN-Revision: 12399
* replace the deprecated git-* command calls with git *Felix Fietkau2008-08-241-15/+15
| | | | SVN-Revision: 12379
* and another oneFelix Fietkau2008-08-061-1/+1
| | | | SVN-Revision: 12217
* fix a small typoFelix Fietkau2008-08-061-1/+1
| | | | SVN-Revision: 12216
* add script for managing 'build environments' (.config+files/), including ↵Felix Fietkau2008-08-061-0/+219
documentation SVN-Revision: 12212