Skip to content

Commit

Permalink
fix: when in doubt, sudo? (freeCodeCamp#54266)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi authored Apr 1, 2024
1 parent fe615be commit 522977e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-download.curriculum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ jobs:
# We do not need to run tests because they are run after the PR is created.

- name: Overwrite Execute-Brain.md
run: tools/scripts/move-bf.sh
run: sudo tools/scripts/move-bf.sh

# Create Commit
- name: Commit Changes
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/move-bf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ destination_dir="curriculum/challenges"
# Loop through all directories except _meta and english
for dir in $(find "$destination_dir" -mindepth 1 -maxdepth 1 -type d ! -name '_meta' ! -name 'english'); do
# Copy the file to each directory
cp "$source_file" "$dir/22-rosetta-code/rosetta-code-challenges/"
cp "./$source_file" "./$dir/22-rosetta-code/rosetta-code-challenges/"
done

0 comments on commit 522977e

Please sign in to comment.