mirror of https://github.com/01-edu/public.git
Make it work with non-executable scripts
This commit is contained in:
parent
af2929ad8a
commit
f5d3ef5698
|
@ -5,7 +5,7 @@ set -euo pipefail
|
|||
IFS='
|
||||
'
|
||||
|
||||
submitted=$(./student/to-git-or-not-to-git.sh)
|
||||
expected=$(./solutions/to-git-or-not-to-git.sh)
|
||||
submitted=$(bash student/to-git-or-not-to-git.sh)
|
||||
expected=$(bash solutions/to-git-or-not-to-git.sh)
|
||||
|
||||
diff <(echo "$submitted") <(echo "$expected")
|
||||
|
|
|
@ -15,7 +15,7 @@ curl -s https://((DOMAIN))/api/graphql-engine/v1/graphql --data '{"query":"{user
|
|||
### Usage
|
||||
|
||||
```console
|
||||
$ ./to-git-or-not-to-git.sh
|
||||
$ bash to-git-or-not-to-git.sh
|
||||
231748
|
||||
$
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue