Skip to content

Commit e0b18a8

Browse files
committed
replace all usages of adacut.py
1 parent 62d0ed1 commit e0b18a8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

contrib/example_extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import difflib
66

77
scripts_dir = Path(__file__).parent
8-
adacut = esubp.cmd.python.arg(scripts_dir / "adacut.py")
8+
adacut = esubp.cmd.adacut
99

1010
esubp.verbose = True
1111

courses/fundamentals_of_ada/examples/protected_objects_2/cut_extracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -e
33
FWD=$(dirname "$0")
4-
ADACUT=$FWD/../../../../contrib/adacut.py
4+
ADACUT=$(which adacut)
55

66
(
77
set -e

courses/fundamentals_of_ada/examples/protected_objects_lock_free/cut_extracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -e
33
FWD=$(dirname "$0")
4-
ADACUT=$FWD/../../../../contrib/adacut.py
4+
ADACUT=$(which adacut)
55

66
(
77
set -e

courses/fundamentals_of_ada/examples/select_non_blocking_entry_and_call/cut_extracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -e
33
FWD=$(dirname "$0")
4-
ADACUT=$FWD/../../../../contrib/adacut.py
4+
ADACUT=$(which adacut)
55

66
(
77
set -e

courses/fundamentals_of_ada/examples/select_requeue_issue/cut_extracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -e
33
FWD=$(dirname "$0")
4-
ADACUT=$FWD/../../../../contrib/adacut.py
4+
ADACUT=$(which adacut)
55

66
(
77
set -e

courses/fundamentals_of_ada/examples/task_select_multiple_or/cut_extracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -e
33
FWD=$(dirname "$0")
4-
ADACUT=$FWD/../../../../contrib/adacut.py
4+
ADACUT=$(which adacut)
55

66
(
77
set -e

courses/fundamentals_of_ada/mini_projects/cinema/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ The commands available for the ref implementation are:
165165

166166
# Updating the question / answer code
167167

168-
Since, the question code is extracted from the answers code using adacut.py (present in this repository).
168+
Since, the question code is extracted from the answers code using adacut (installed from pip)
169169
You will need to update the code from the `template/` directory then use the `build.sh` script to generate
170170
the `src/` and `answers/` directories.
171171

0 commit comments

Comments
 (0)