History

Consistently uses shortest match substitutions

malc committed 5 years ago

Commit e04e7521 parent ab493bd1 file · +2 −2Browse files

Unified · Split

build.bash+2−2
@@ -142,7 +142,7 @@ ord= · 141 unmodified lines
142bocaml1() {142bocaml1() {
143 expr >/dev/null "$seen" : ".*$3" || {143 expr >/dev/null "$seen" : ".*$3" || {
144 bocaml2 "$@"144 bocaml2 "$@"
145 test "${3%%.cmi}" != "$3" || ord+="$3 "145 test "${3%.cmi}" != "$3" || ord+="$3 "
146 seen+="$3"146 seen+="$3"
147 }147 }
148}148}
@@ -157,7 +157,7 @@ bocaml2() { · 8 unmodified lines
157 for d in $depl; do157 for d in $depl; do
158 if test "$d" = "$outd/confstruct.cmo";158 if test "$d" = "$outd/confstruct.cmo";
159 then d=confstruct.cmo; else d=${d#$srcd/}; fi159 then d=confstruct.cmo; else d=${d#$srcd/}; fi
160 test "${o%%.cmo}.cmi" = "$outd/$d" || deps+="$d\n"160 test "${o%.cmo}.cmi" = "$outd/$d" || deps+="$d\n"
161 done161 done
162 printf "$deps" >$o.depl162 printf "$deps" >$o.depl
163 echo "$overs$cmd$(eval $keycmd)" >"$o.depl.past"163 echo "$overs$cmd$(eval $keycmd)" >"$o.depl.past"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t