File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# This script provides the repo configurations for Polymer's checkout scripts
4
4
5
- # Check if cwd/tools/bin/pull-all exists, use that if it does
6
- # this way, a random download of pull-all is always correct
7
- # if [ "${0##*[/|\\]}" == "pull-all.sh" ] && [ -x "tools/bin/pull-all.sh" ] && ! [ "$0" -ef "tools/bin/pull-all.sh" ]; then
8
- # echo "exec'ing more up-to-date copy"
9
- # exec tools/bin/pull-all.sh "$@"
10
- # fi
11
-
12
5
# Windows autocloses shell when complete, use `read` to wait for user input
13
6
WINDOWS=0
14
7
if [[ $OSTYPE == win32 ]] || [[ $OSTYPE == cygwin ]]; then
@@ -143,7 +136,7 @@ sync_repos() {
143
136
}
144
137
145
138
# only sync if run, not if importing functions
146
- if [ ` basename $0 ` == " pull-all.sh" ]; then
139
+ if [ ${0 ##* [/\\]} == " pull-all.sh" ]; then
147
140
# figure out what branch to pull with the -v "version" argument
148
141
while getopts " :v:" opt; do
149
142
case $opt in
You can’t perform that action at this time.
0 commit comments