Skip to content

Commit

Permalink
Try to sudo to create and tune the file
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jun 4, 2024
1 parent fd0ae0d commit 3269e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
pushd ..
git clone --depth 1 https://github.com/bids-standard/bids-validator
VALIDATOR=/usr/bin/bids-validator
echo -e '#!/bin/sh\n'"$PWD/bids-validator/bids-validator/bids-validator-deno \"\$@\"" > $VALIDATOR
sudo bash -c 'echo -e "#!/bin/sh\n""$PWD/bids-validator/bids-validator/bids-validator-deno \"\$@\"" > /usr/bin/bids-validator'
cat $VALIDATOR
chmod a+x $VALIDATOR
sudo chmod a+rx $VALIDATOR
which -a bids-validator
bids-validator --version
bids-validator --help
Expand Down

0 comments on commit 3269e7b

Please sign in to comment.