-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyrun.sh
executable file
·37 lines (27 loc) · 967 Bytes
/
pyrun.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
PYRUDOF_DIR="./pyrudof" # Set the path to the pyrudof directory
PYSHACL_DIR="./pyshacl" # Set the path to the pyshacl directory
RDF4J_DIR="./rdf4j" # Set the path to the rdf4j directory
# Check if the script and directory exist
if [ -d "$PYRUDOF_DIR" ] && [ -d "$PYSHACL_DIR" ] && [ -d "$RDF4J_DIR" ]; then
# Enter the shapes-rs directory
cd "$PYRUDOF_DIR" || exit
# Execute the run.sh script with the parameter
sh run.sh 3
# Return to the original directory
cd .. || exit
# Enter the pyshacl directory
cd "$PYSHACL_DIR" || exit
# Execute the run.sh script with the parameter
sh run.sh 3
# Return to the original directory
cd .. || exit
# # Enter the rdf4j directory
# cd "$RDF4J_DIR" || exit
# # Execute the run.sh script with the parameter
# sh run.sh
# # Return to the original directory
# cd .. || exit
else
echo "Error: benchmark directories do not exist."
fi