Debian Codegraph @

debian/patches/fix_debian_paths.patch

raw symbols SCIP
1 Description: use Debian paths everywhere
2 Author: first written by B.Barenblat in 2019, updated by J.Puydt in 2021 and 2025
3 Forwarded: not-needed
4
5 --- coq.orig/tools/make-one-time-file.py
6 +++ coq/tools/make-one-time-file.py
7 @@ -1,4 +1,4 @@
8 -#!/usr/bin/env python3
9 +#!/usr/bin/python3
10 import sys
11 from TimeFileMaker import *
12
13 --- coq.orig/dev/bench/bench.sh
14 +++ coq/dev/bench/bench.sh
15 @@ -1,4 +1,4 @@
16 -#! /usr/bin/env bash
17 +#! /usr/bin/bash
18
19 # ASSUMPTIONS:
20 # - the OPAM packages, specified by the user, are topologically sorted wrt. to the dependency relationship.
21 --- coq.orig/dev/bench/sort-by-deps.sh
22 +++ coq/dev/bench/sort-by-deps.sh
23 @@ -1,4 +1,4 @@
24 -#!/usr/bin/env bash
25 +#!/usr/bin/bash
26
27 program_name="$0"
28 program_path=$(readlink -f "${program_name%/*}")
29 --- coq.orig/dev/ci/ci-basic-overlay.sh
30 +++ coq/dev/ci/ci-basic-overlay.sh
31 @@ -1,4 +1,4 @@
32 -#!/usr/bin/env bash
33 +#!/usr/bin/bash
34
35 # This is the list of repositories used by the CI scripts, unless overridden
36 # by a call to the "overlay" function in ci-common
37 --- coq.orig/dev/ci/ci-wrapper.sh
38 +++ coq/dev/ci/ci-wrapper.sh
39 @@ -1,4 +1,4 @@
40 -#!/usr/bin/env bash
41 +#!/usr/bin/bash
42
43 # Use this script to preserve the exit code of $CI_SCRIPT when piping
44 # it to `tee $log_file`. We have a separate script, because
45 --- coq.orig/dev/dune-dbg.in
46 +++ coq/dev/dune-dbg.in
47 @@ -1,4 +1,4 @@
48 -#!/usr/bin/env bash
49 +#!/usr/bin/bash
50 # Run in a proper install dune env.
51
52 opts=()
53 --- coq.orig/dev/lint-commits.sh
54 +++ coq/dev/lint-commits.sh
55 @@ -1,4 +1,4 @@
56 -#!/usr/bin/env bash
57 +#!/usr/bin/bash
58
59 # A script to check prettyness for a range of commits
60 set -e
61 --- coq.orig/dev/lint-repository.sh
62 +++ coq/dev/lint-repository.sh
63 @@ -1,4 +1,4 @@
64 -#!/usr/bin/env bash
65 +#!/usr/bin/bash
66
67 # A script to check prettyness over the repository.
68
69 --- coq.orig/dev/tools/backport-pr.sh
70 +++ coq/dev/tools/backport-pr.sh
71 @@ -1,4 +1,4 @@
72 -#!/usr/bin/env bash
73 +#!/usr/bin/bash
74
75 set -e
76
77 --- coq.orig/dev/tools/check-eof-newline.sh
78 +++ coq/dev/tools/check-eof-newline.sh
79 @@ -1,4 +1,4 @@
80 -#!/usr/bin/env bash
81 +#!/usr/bin/bash
82
83 # Usage: check-eof-newline.sh [--fix] FILES...
84 # Detect missing end of file newlines for FILES.
85 --- coq.orig/dev/tools/check-overlays.sh
86 +++ coq/dev/tools/check-overlays.sh
87 @@ -1,4 +1,4 @@
88 -#!/usr/bin/env bash
89 +#!/usr/bin/bash
90
91 REDBOLD="\033[31;1m"
92 RESET="\033[0m"
93 --- coq.orig/dev/tools/create_overlays.sh
94 +++ coq/dev/tools/create_overlays.sh
95 @@ -1,4 +1,4 @@
96 -#!/usr/bin/env bash
97 +#!/usr/bin/bash
98
99 # TODO:
100 #
101 --- coq.orig/dev/tools/generate-release-changelog.sh
102 +++ coq/dev/tools/generate-release-changelog.sh
103 @@ -1,4 +1,4 @@
104 -#!/usr/bin/env bash
105 +#!/usr/bin/bash
106
107 set -e
108 set -o pipefail
109 --- coq.orig/dev/tools/list-contributors.sh
110 +++ coq/dev/tools/list-contributors.sh
111 @@ -1,4 +1,4 @@
112 -#!/usr/bin/env bash
113 +#!/usr/bin/bash
114 # For compat with OSX which has a non-gnu sed which doesn't support -z
115 SED=`(which gsed || which sed) 2> /dev/null`
116
117 --- coq.orig/dev/tools/make_git_revision.sh
118 +++ coq/dev/tools/make_git_revision.sh
119 @@ -1,4 +1,4 @@
120 -#!/usr/bin/env bash
121 +#!/usr/bin/bash
122
123 if ! command -v git >/dev/null; then
124 >&2 echo "skipping make_git_revision: git not found"
125 --- coq.orig/dev/tools/merge-pr.sh
126 +++ coq/dev/tools/merge-pr.sh
127 @@ -1,4 +1,4 @@
128 -#!/usr/bin/env bash
129 +#!/usr/bin/bash
130
131 set -e
132 set -o pipefail
133 --- coq.orig/dev/tools/pin-ci.sh
134 +++ coq/dev/tools/pin-ci.sh
135 @@ -1,4 +1,4 @@
136 -#!/usr/bin/env bash
137 +#!/usr/bin/bash
138
139 # Use this script to pin the commit used by the developments tracked by the CI
140
141 --- coq.orig/test-suite/coq-makefile/camldep/run.sh
142 +++ coq/test-suite/coq-makefile/camldep/run.sh
143 @@ -1,4 +1,4 @@
144 -#!/usr/bin/env bash
145 +#!/usr/bin/bash
146
147 set -e
148 export PATH=$COQBIN:$PATH
149 --- coq.orig/test-suite/coq-makefile/findlib-package-unpacked/run.sh
150 +++ coq/test-suite/coq-makefile/findlib-package-unpacked/run.sh
151 @@ -1,4 +1,4 @@
152 -#!/usr/bin/env bash
153 +#!/usr/bin/bash
154
155 . ../template/init.sh
156 mv src/test_plugin.mlpack src/test_plugin.mllib
157 --- coq.orig/test-suite/coq-makefile/local-late-extension/run.sh
158 +++ coq/test-suite/coq-makefile/local-late-extension/run.sh
159 @@ -1,4 +1,4 @@
160 -#!/usr/bin/env bash
161 +#!/usr/bin/bash
162
163 . ../template/path-init.sh
164
165 --- coq.orig/test-suite/coq-makefile/missing-install/run.sh
166 +++ coq/test-suite/coq-makefile/missing-install/run.sh
167 @@ -1,4 +1,4 @@
168 -#!/usr/bin/env bash
169 +#!/usr/bin/bash
170
171 . ../template/init.sh
172
173 --- coq.orig/test-suite/coq-makefile/native1/run.sh
174 +++ coq/test-suite/coq-makefile/native1/run.sh
175 @@ -1,4 +1,4 @@
176 -#!/usr/bin/env bash
177 +#!/usr/bin/bash
178
179 if ! command -v ocamlopt; then
180 echo "Skipped: no ocamlopt"
181 --- coq.orig/test-suite/coq-makefile/native2/run.sh
182 +++ coq/test-suite/coq-makefile/native2/run.sh
183 @@ -1,4 +1,4 @@
184 -#!/usr/bin/env bash
185 +#!/usr/bin/bash
186
187 if ! command -v ocamlopt; then
188 echo "Skipped: no ocamlopt"
189 --- coq.orig/test-suite/coq-makefile/native3/run.sh
190 +++ coq/test-suite/coq-makefile/native3/run.sh
191 @@ -1,4 +1,4 @@
192 -#!/usr/bin/env bash
193 +#!/usr/bin/bash
194
195 if ! command -v ocamlopt; then
196 echo "Skipped: no ocamlopt"
197 --- coq.orig/test-suite/coq-makefile/native4/run.sh
198 +++ coq/test-suite/coq-makefile/native4/run.sh
199 @@ -1,4 +1,4 @@
200 -#!/usr/bin/env bash
201 +#!/usr/bin/bash
202
203 if ! command -v ocamlopt; then
204 echo "Skipped: no ocamlopt"
205 --- coq.orig/test-suite/misc/11170.sh
206 +++ coq/test-suite/misc/11170.sh
207 @@ -1,4 +1,4 @@
208 -#!/usr/bin/env bash
209 +#!/usr/bin/bash
210
211 set -e
212
213 --- coq.orig/test-suite/misc/13330.sh
214 +++ coq/test-suite/misc/13330.sh
215 @@ -1,4 +1,4 @@
216 -#!/usr/bin/env bash
217 +#!/usr/bin/bash
218
219 $coqc misc/13330/bug_13330.v
220 R=$?
221 --- coq.orig/test-suite/misc/7704.sh
222 +++ coq/test-suite/misc/7704.sh
223 @@ -1,4 +1,4 @@
224 -#!/usr/bin/env bash
225 +#!/usr/bin/bash
226
227 set -e
228
229 --- coq.orig/test-suite/misc/changelog.sh
230 +++ coq/test-suite/misc/changelog.sh
231 @@ -1,4 +1,4 @@
232 -#!/usr/bin/env bash
233 +#!/usr/bin/bash
234
235 config=../tools/configure/configure.ml
236 if ! [ -e "$config" ]; then
237 --- coq.orig/test-suite/misc/coq_environment.sh
238 +++ coq/test-suite/misc/coq_environment.sh
239 @@ -1,4 +1,4 @@
240 -#!/usr/bin/env bash
241 +#!/usr/bin/bash
242
243 export COQBIN=$BIN
244 export PATH=$COQBIN:$PATH
245 --- coq.orig/test-suite/misc/coq_makefile_destination_of.sh
246 +++ coq/test-suite/misc/coq_makefile_destination_of.sh
247 @@ -1,4 +1,4 @@
248 -#!/usr/bin/env bash
249 +#!/usr/bin/bash
250
251 export COQBIN=$BIN
252 export PATH=$COQBIN:$PATH
253 --- coq.orig/test-suite/misc/coqc_dash_o.sh
254 +++ coq/test-suite/misc/coqc_dash_o.sh
255 @@ -1,4 +1,4 @@
256 -#!/usr/bin/env bash
257 +#!/usr/bin/bash
258
259 DOUT=misc/tmp_coqc_cmdline/
260 OUT=${DOUT}coqc_cmdline.vo
261 --- coq.orig/test-suite/misc/coqtop_print-mod-uid.sh
262 +++ coq/test-suite/misc/coqtop_print-mod-uid.sh
263 @@ -1,4 +1,4 @@
264 -#!/usr/bin/env bash
265 +#!/usr/bin/bash
266
267 export COQBIN=$BIN
268 export PATH=$COQBIN:$PATH
269 --- coq.orig/test-suite/misc/non-marshalable-state.sh
270 +++ coq/test-suite/misc/non-marshalable-state.sh
271 @@ -1,4 +1,4 @@
272 -#!/usr/bin/env bash
273 +#!/usr/bin/bash
274
275 set -ex
276
277 --- coq.orig/test-suite/misc/poly-capture-global-univs.sh
278 +++ coq/test-suite/misc/poly-capture-global-univs.sh
279 @@ -1,4 +1,4 @@
280 -#!/usr/bin/env bash
281 +#!/usr/bin/bash
282
283 set -e
284
285 --- coq.orig/test-suite/misc/quotation_token.sh
286 +++ coq/test-suite/misc/quotation_token.sh
287 @@ -1,4 +1,4 @@
288 -#!/usr/bin/env bash
289 +#!/usr/bin/bash
290
291 set -e
292
293 --- coq.orig/test-suite/misc/redirect_printing.sh
294 +++ coq/test-suite/misc/redirect_printing.sh
295 @@ -1,4 +1,4 @@
296 -#!/usr/bin/env bash
297 +#!/usr/bin/bash
298
299 $coqc misc/redirect_printing.v
300 diff -u redirect_test.out misc/redirect_printing.out
301 --- coq.orig/test-suite/misc/side-eff-leak-univs.sh
302 +++ coq/test-suite/misc/side-eff-leak-univs.sh
303 @@ -1,4 +1,4 @@
304 -#!/usr/bin/env bash
305 +#!/usr/bin/bash
306
307 set -e
308
309 --- coq.orig/test-suite/misc/universes/build_all_stdlib.sh
310 +++ coq/test-suite/misc/universes/build_all_stdlib.sh
311 @@ -1,4 +1,4 @@
312 -#!/usr/bin/env bash
313 +#!/usr/bin/bash
314
315 echo "Require $(find ../../../theories ../../../plugins -type f -name "*.v" | \
316 sed 's/^.*\/theories\///' | sed 's/^.*\/plugins\///' | sed 's/\.v$//' | sed 's/\//./g') ."
317 --- coq.orig/test-suite/report.sh
318 +++ coq/test-suite/report.sh
319 @@ -1,4 +1,4 @@
320 -#!/usr/bin/env bash
321 +#!/usr/bin/bash
322
323 # save failed logs to logs/, then print failure information
324 # returns failure code if any failed logs exist
325 --- coq.orig/tools/make-both-single-timing-files.py
326 +++ coq/tools/make-both-single-timing-files.py
327 @@ -1,4 +1,4 @@
328 -#!/usr/bin/env python3
329 +#!/usr/bin/python3
330 from TimeFileMaker import *
331
332 if __name__ == '__main__':
333 --- coq.orig/tools/make-both-time-files.py
334 +++ coq/tools/make-both-time-files.py
335 @@ -1,4 +1,4 @@
336 -#!/usr/bin/env python3
337 +#!/usr/bin/python3
338 from TimeFileMaker import *
339
340 if __name__ == '__main__':
341 --- coq.orig/dev/bench/plotter
342 +++ coq/dev/bench/plotter
343 @@ -1,4 +1,4 @@
344 -#!/usr/bin/env python3
345 +#!/usr/bin/python3
346
347 import matplotlib.pyplot as plt
348 import xdg
349 --- coq.orig/dev/doc/profiling.md
350 +++ coq/dev/doc/profiling.md
351 @@ -37,7 +37,7 @@
352 second for the standard library ([example output](https://cdn.rawgit.com/andres-erbsen/b29b29cb6480dfc6a662062e4fcd0ae3/raw/304fc3fea9630c8e453929aa7920ca8a2a570d0b/stdlib_categorized_outermost.svg)).
353
354 ```
355 -#!/usr/bin/env bash
356 +#!/usr/bin/bash
357 make clean
358 make states
359 perf record -F99 `# ~1GB of data` --call-graph=dwarf -- make world
360 --- coq.orig/dev/tools/markdown-toc
361 +++ coq/dev/tools/markdown-toc
362 @@ -1,4 +1,4 @@
363 -#!/usr/bin/env bash
364 +#!/usr/bin/bash
365
366 # from https://github.com/Lirt/markdown-toc-bash
367 # MIT license
368 --- coq.orig/dev/tools/pipeline-stats.py
369 +++ coq/dev/tools/pipeline-stats.py
370 @@ -1,4 +1,4 @@
371 -#!/usr/bin/env python3
372 +#!/usr/bin/python3
373
374 import os
375 import gitlab
376 --- coq.orig/doc/corelib/make-library-index
377 +++ coq/doc/corelib/make-library-index
378 @@ -1,4 +1,4 @@
379 -#!/usr/bin/env bash
380 +#!/usr/bin/bash
381
382 # Instantiate links to library files in index template
383
384 --- coq.orig/test-suite/coq-makefile/arg/run.sh
385 +++ coq/test-suite/coq-makefile/arg/run.sh
386 @@ -1,4 +1,4 @@
387 -#!/usr/bin/env bash
388 +#!/usr/bin/bash
389
390 . ../template/init.sh
391
392 --- coq.orig/test-suite/coq-makefile/coqdep-attribute/run.sh
393 +++ coq/test-suite/coq-makefile/coqdep-attribute/run.sh
394 @@ -1,4 +1,4 @@
395 -#!/usr/bin/env bash
396 +#!/usr/bin/bash
397
398 . ../template/path-init.sh
399
400 --- coq.orig/test-suite/coq-makefile/coqdoc1/run.sh
401 +++ coq/test-suite/coq-makefile/coqdoc1/run.sh
402 @@ -1,4 +1,4 @@
403 -#!/usr/bin/env bash
404 +#!/usr/bin/bash
405
406 . ../template/init.sh
407
408 --- coq.orig/test-suite/coq-makefile/coqdoc2/run.sh
409 +++ coq/test-suite/coq-makefile/coqdoc2/run.sh
410 @@ -1,4 +1,4 @@
411 -#!/usr/bin/env bash
412 +#!/usr/bin/bash
413
414 . ../template/init.sh
415
416 --- coq.orig/test-suite/coq-makefile/emptyprefix/run.sh
417 +++ coq/test-suite/coq-makefile/emptyprefix/run.sh
418 @@ -1,4 +1,4 @@
419 -#!/usr/bin/env bash
420 +#!/usr/bin/bash
421
422 set -e
423
424 --- coq.orig/test-suite/coq-makefile/expand-directories/run.sh
425 +++ coq/test-suite/coq-makefile/expand-directories/run.sh
426 @@ -1,4 +1,4 @@
427 -#!/usr/bin/env bash
428 +#!/usr/bin/bash
429
430 . ../template/path-init.sh
431
432 --- coq.orig/test-suite/coq-makefile/expand-directories2/run.sh
433 +++ coq/test-suite/coq-makefile/expand-directories2/run.sh
434 @@ -1,4 +1,4 @@
435 -#!/usr/bin/env bash
436 +#!/usr/bin/bash
437
438 . ../template/path-init.sh
439
440 --- coq.orig/test-suite/coq-makefile/extend-subdirs/run.sh
441 +++ coq/test-suite/coq-makefile/extend-subdirs/run.sh
442 @@ -1,4 +1,4 @@
443 -#!/usr/bin/env bash
444 +#!/usr/bin/bash
445
446 . ../template/init.sh
447
448 --- coq.orig/test-suite/coq-makefile/findlib-package/run.sh
449 +++ coq/test-suite/coq-makefile/findlib-package/run.sh
450 @@ -1,4 +1,4 @@
451 -#!/usr/bin/env bash
452 +#!/usr/bin/bash
453
454 . ../template/init.sh
455
456 --- coq.orig/test-suite/coq-makefile/gen-v-during-make/run.sh
457 +++ coq/test-suite/coq-makefile/gen-v-during-make/run.sh
458 @@ -1,4 +1,4 @@
459 -#!/usr/bin/env bash
460 +#!/usr/bin/bash
461
462 . ../template/init.sh
463
464 --- coq.orig/test-suite/coq-makefile/latex1/run.sh
465 +++ coq/test-suite/coq-makefile/latex1/run.sh
466 @@ -1,4 +1,4 @@
467 -#!/usr/bin/env bash
468 +#!/usr/bin/bash
469
470 if which pdflatex; then
471
472 --- coq.orig/test-suite/coq-makefile/merlin1/run.sh
473 +++ coq/test-suite/coq-makefile/merlin1/run.sh
474 @@ -1,4 +1,4 @@
475 -#!/usr/bin/env bash
476 +#!/usr/bin/bash
477
478 . ../template/init.sh
479
480 --- coq.orig/test-suite/coq-makefile/missing-included/run.sh
481 +++ coq/test-suite/coq-makefile/missing-included/run.sh
482 @@ -1,4 +1,4 @@
483 -#!/usr/bin/env bash
484 +#!/usr/bin/bash
485
486 . ../template/init.sh
487
488 --- coq.orig/test-suite/coq-makefile/missing-required/run.sh
489 +++ coq/test-suite/coq-makefile/missing-required/run.sh
490 @@ -1,4 +1,4 @@
491 -#!/usr/bin/env bash
492 +#!/usr/bin/bash
493
494 . ../template/init.sh
495
496 --- coq.orig/test-suite/coq-makefile/mlpack1/run.sh
497 +++ coq/test-suite/coq-makefile/mlpack1/run.sh
498 @@ -1,4 +1,4 @@
499 -#!/usr/bin/env bash
500 +#!/usr/bin/bash
501
502 . ../template/init.sh
503
504 --- coq.orig/test-suite/coq-makefile/mlpack2/run.sh
505 +++ coq/test-suite/coq-makefile/mlpack2/run.sh
506 @@ -1,4 +1,4 @@
507 -#!/usr/bin/env bash
508 +#!/usr/bin/bash
509
510 . ../template/init.sh
511
512 --- coq.orig/test-suite/coq-makefile/multiroot/run.sh
513 +++ coq/test-suite/coq-makefile/multiroot/run.sh
514 @@ -1,4 +1,4 @@
515 -#!/usr/bin/env bash
516 +#!/usr/bin/bash
517
518 . ../template/init.sh
519
520 --- coq.orig/test-suite/coq-makefile/only/run.sh
521 +++ coq/test-suite/coq-makefile/only/run.sh
522 @@ -1,4 +1,4 @@
523 -#!/usr/bin/env bash
524 +#!/usr/bin/bash
525
526 . ../template/init.sh
527
528 --- coq.orig/test-suite/coq-makefile/plugin1/run.sh
529 +++ coq/test-suite/coq-makefile/plugin1/run.sh
530 @@ -1,4 +1,4 @@
531 -#!/usr/bin/env bash
532 +#!/usr/bin/bash
533
534 . ../template/init.sh
535
536 --- coq.orig/test-suite/coq-makefile/plugin2/run.sh
537 +++ coq/test-suite/coq-makefile/plugin2/run.sh
538 @@ -1,4 +1,4 @@
539 -#!/usr/bin/env bash
540 +#!/usr/bin/bash
541
542 . ../template/init.sh
543
544 --- coq.orig/test-suite/coq-makefile/plugin3/run.sh
545 +++ coq/test-suite/coq-makefile/plugin3/run.sh
546 @@ -1,4 +1,4 @@
547 -#!/usr/bin/env bash
548 +#!/usr/bin/bash
549
550 . ../template/init.sh
551
552 --- coq.orig/test-suite/coq-makefile/timing-aggregate/run.sh
553 +++ coq/test-suite/coq-makefile/timing-aggregate/run.sh
554 @@ -1,4 +1,4 @@
555 -#!/usr/bin/env bash
556 +#!/usr/bin/bash
557
558 . ../timing-template/init.sh
559
560 --- coq.orig/test-suite/coq-makefile/timing-error/run.sh
561 +++ coq/test-suite/coq-makefile/timing-error/run.sh
562 @@ -1,4 +1,4 @@
563 -#!/usr/bin/env bash
564 +#!/usr/bin/bash
565
566 . ../timing-template/init.sh
567
568 --- coq.orig/test-suite/coq-makefile/timing-per-file/run.sh
569 +++ coq/test-suite/coq-makefile/timing-per-file/run.sh
570 @@ -1,4 +1,4 @@
571 -#!/usr/bin/env bash
572 +#!/usr/bin/bash
573
574 . ../timing-template/init.sh
575
576 --- coq.orig/test-suite/coq-makefile/timing-template/init.sh
577 +++ coq/test-suite/coq-makefile/timing-template/init.sh
578 @@ -1,4 +1,4 @@
579 -#!/usr/bin/env bash
580 +#!/usr/bin/bash
581
582 set -x
583 set -e
584 --- coq.orig/test-suite/coq-makefile/uninstall1/run.sh
585 +++ coq/test-suite/coq-makefile/uninstall1/run.sh
586 @@ -1,4 +1,4 @@
587 -#!/usr/bin/env bash
588 +#!/usr/bin/bash
589
590 . ../template/init.sh
591
592 --- coq.orig/test-suite/coq-makefile/uninstall2/run.sh
593 +++ coq/test-suite/coq-makefile/uninstall2/run.sh
594 @@ -1,4 +1,4 @@
595 -#!/usr/bin/env bash
596 +#!/usr/bin/bash
597
598 . ../template/init.sh
599
600 --- coq.orig/test-suite/coq-makefile/validate1/run.sh
601 +++ coq/test-suite/coq-makefile/validate1/run.sh
602 @@ -1,4 +1,4 @@
603 -#!/usr/bin/env bash
604 +#!/usr/bin/bash
605
606 . ../template/init.sh
607
608 --- coq.orig/test-suite/coq-makefile/vos/run.sh
609 +++ coq/test-suite/coq-makefile/vos/run.sh
610 @@ -1,4 +1,4 @@
611 -#!/usr/bin/env bash
612 +#!/usr/bin/bash
613
614 . ../template/path-init.sh
615
616 --- coq.orig/test-suite/misc/bench-render.sh
617 +++ coq/test-suite/misc/bench-render.sh
618 @@ -1,4 +1,4 @@
619 -#!/usr/bin/env bash
620 +#!/usr/bin/bash
621
622 set -ex
623 set -o pipefail
624 --- coq.orig/test-suite/misc/bug_14550.sh
625 +++ coq/test-suite/misc/bug_14550.sh
626 @@ -1,4 +1,4 @@
627 -#!/usr/bin/env bash
628 +#!/usr/bin/bash
629
630 $coqc misc/bug_14550/bug_14550.v
631 R=$?
632 --- coq.orig/test-suite/misc/coqdep-require-filter-categories.sh
633 +++ coq/test-suite/misc/coqdep-require-filter-categories.sh
634 @@ -1,4 +1,4 @@
635 -#!/usr/bin/env bash
636 +#!/usr/bin/bash
637
638 set -e
639
640 --- coq.orig/test-suite/misc/coqdoc-options.sh
641 +++ coq/test-suite/misc/coqdoc-options.sh
642 @@ -1,4 +1,4 @@
643 -#!/usr/bin/env bash
644 +#!/usr/bin/bash
645
646 set -e
647
648 --- coq.orig/test-suite/misc/qed-time.sh
649 +++ coq/test-suite/misc/qed-time.sh
650 @@ -1,4 +1,4 @@
651 -#!/usr/bin/env bash
652 +#!/usr/bin/bash
653
654 set -ex
655
656 --- coq.orig/test-suite/misc/tc_declaration_observer.sh
657 +++ coq/test-suite/misc/tc_declaration_observer.sh
658 @@ -1,4 +1,4 @@
659 -#!/usr/bin/env bash
660 +#!/usr/bin/bash
661
662 set -e
663
664 --- coq.orig/test-suite/precomputed-time-tests/correct-diff-sorting-order-mem/run.sh
665 +++ coq/test-suite/precomputed-time-tests/correct-diff-sorting-order-mem/run.sh
666 @@ -1,4 +1,4 @@
667 -#!/usr/bin/env bash
668 +#!/usr/bin/bash
669
670 . ../template/init.sh
671
672 --- coq.orig/test-suite/precomputed-time-tests/correct-diff-sorting-order/run.sh
673 +++ coq/test-suite/precomputed-time-tests/correct-diff-sorting-order/run.sh
674 @@ -1,4 +1,4 @@
675 -#!/usr/bin/env bash
676 +#!/usr/bin/bash
677
678 . ../template/init.sh
679
680 --- coq.orig/test-suite/precomputed-time-tests/no-output-sync/run.sh
681 +++ coq/test-suite/precomputed-time-tests/no-output-sync/run.sh
682 @@ -1,4 +1,4 @@
683 -#!/usr/bin/env bash
684 +#!/usr/bin/bash
685
686 . ../template/init.sh
687
688 --- coq.orig/test-suite/precomputed-time-tests/non-utf8/run.sh
689 +++ coq/test-suite/precomputed-time-tests/non-utf8/run.sh
690 @@ -1,4 +1,4 @@
691 -#!/usr/bin/env bash
692 +#!/usr/bin/bash
693
694 . ../template/init.sh
695
696 --- coq.orig/test-suite/precomputed-time-tests/per-file-fuzz/run.sh
697 +++ coq/test-suite/precomputed-time-tests/per-file-fuzz/run.sh
698 @@ -1,4 +1,4 @@
699 -#!/usr/bin/env bash
700 +#!/usr/bin/bash
701
702 . ../template/init.sh
703
704 --- coq.orig/test-suite/precomputed-time-tests/single-file-sorting/run.sh
705 +++ coq/test-suite/precomputed-time-tests/single-file-sorting/run.sh
706 @@ -1,4 +1,4 @@
707 -#!/usr/bin/env bash
708 +#!/usr/bin/bash
709
710 . ../template/init.sh
711
712 --- coq.orig/test-suite/precomputed-time-tests/strip-leading-pwd/run.sh
713 +++ coq/test-suite/precomputed-time-tests/strip-leading-pwd/run.sh
714 @@ -1,10 +1,10 @@
715 -#!/usr/bin/env bash
716 +#!/usr/bin/bash
717
718 . ../template/init.sh
719
720 cd "$(dirname "${BASH_SOURCE[0]}")"
721
722 -/usr/bin/env python3 -c 'import os; open("time-of-build.log", "w").write(open("time-of-build.log.in", "r").read().replace("$PWD", os.getcwd()))'
723 +/usr/bin/python3 -c 'import os; open("time-of-build.log", "w").write(open("time-of-build.log.in", "r").read().replace("$PWD", os.getcwd()))'
724
725 $make_one_time_file time-of-build.log time-of-build-pretty-user.log
726
727 --- coq.orig/test-suite/precomputed-time-tests/template/init.sh
728 +++ coq/test-suite/precomputed-time-tests/template/init.sh
729 @@ -1,4 +1,4 @@
730 -#!/usr/bin/env bash
731 +#!/usr/bin/bash
732
733 set -x
734 set -e
735 --- coq.orig/test-suite/precomputed-time-tests/zero-before/run.sh
736 +++ coq/test-suite/precomputed-time-tests/zero-before/run.sh
737 @@ -1,4 +1,4 @@
738 -#!/usr/bin/env bash
739 +#!/usr/bin/bash
740
741 . ../template/init.sh
742
743 --- coq.orig/test-suite/primitive/float/gen_compare.sh
744 +++ coq/test-suite/primitive/float/gen_compare.sh
745 @@ -1,4 +1,4 @@
746 -#!/usr/bin/env bash
747 +#!/usr/bin/bash
748 # -*- compile-command: "mv -f compare.v{,~} && ./gen_compare.sh" -*-
749 set -e
750