Skip to content

Commit f4a95ee

Browse files
committed
Some progress
1 parent 497aaad commit f4a95ee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

bin/tune

100644100755
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,21 @@ if [[ $(basename $(pwd)) == "bin" ]]; then
55
fi
66

77
# check Julia version
8+
julia_version=$(julia --version | awk '{print($3)}')
9+
julia_major=${julia_version:0:3}
10+
if [[ $julia_major == "1.1" ]]; then
11+
julia_major=${julia_version:0:4}
12+
fi
813

914
# check that the active manifest is the default manifest
15+
file1="Manifest-v1.11.toml"
16+
file2="Manifest-v1.11.toml.default"
17+
18+
if cmp -s "$file1" "$file2"; then
19+
printf 'The file "%s" is the same as "%s"\n' "$file1" "$file2"
20+
else
21+
printf 'The file "%s" is different from "%s"\n' "$file1" "$file2"
22+
fi
1023

1124
# create new prob_xxx.bin file
1225
# copy it to the prob_xxx.bin.default file

0 commit comments

Comments
 (0)