mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
Merge branch 'dev' into macos-compat
This commit is contained in:
commit
5d7e1d43f6
3 changed files with 9 additions and 7 deletions
|
@ -40,7 +40,10 @@ for sdk_cmd in $test_commands
|
|||
|
||||
# For nicer diffs: one entry per line, sorted
|
||||
string split ":" (cat path_bash) | sort > path_bash
|
||||
string split " " (cat path_fish) | sort > path_fish
|
||||
string split ":" (cat path_fish) \
|
||||
| string split " " \
|
||||
| sort > path_fish
|
||||
# split by spaces for fish 2.*
|
||||
|
||||
for out in sout status path anthome
|
||||
if [ (checksum "$out"_bash) != (checksum "$out"_fish) ]
|
||||
|
@ -58,4 +61,4 @@ rm {sout,status,path}_{bash,fish}
|
|||
|
||||
echo "Ran $test_count commands with 3 checks each."
|
||||
echo "$failures/$check_count checks failed."
|
||||
exit (math $failures != 0)
|
||||
exit $failures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue