Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Galbraith <MattGal@users.noreply.github.com>2016-10-05 19:59:00 +0300
committerGitHub <noreply@github.com>2016-10-05 19:59:00 +0300
commit42ec7efb8d5b3f0d6e5231fd1bcc860fdff18484 (patch)
treed6904b2512f336b7f3bc57a5f83485efa819853f /clean.sh
parentf9133f89fa77c341db1ec32651cae61c527b8154 (diff)
Revert changes to clean.sh
Explicitly undoing previous changes to clean.sh; Adding a case insensitive check is neither desired nor nice to do in a both Mac and Linux friendly way.
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/clean.sh b/clean.sh
index 8848ebd62a..227e691d31 100755
--- a/clean.sh
+++ b/clean.sh
@@ -20,8 +20,7 @@ fi
__working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-clean_arg=$*
-if [[ "${clean_arg,,}" == *"all"* ]]
+if [ "$*" == "-all" ]
then
echo "Removing all untracked files in the working tree"
git clean -xdf $__working_tree_root