mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-09 12:00:37 -04:00
fix: when in doubt, sudo? (#54266)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user