Skip to content

Commit

Permalink
fix(custom-mono): create parent directory if not exists (#267)
Browse files Browse the repository at this point in the history
fixes #100
  • Loading branch information
AmitMY authored Nov 20, 2023
1 parent 0e757b0 commit feb18d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/data/importers/mono/custom-mono.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ lang=$1
output_prefix=$2
dataset=$3

mkdir -p "$(dirname "$output_prefix")"
cp "${dataset}.${lang}.gz" "${output_prefix}.gz"


echo "###### Done: Copying custom monolingual dataset"
echo "###### Done: Copying custom monolingual dataset"

0 comments on commit feb18d4

Please sign in to comment.