fix(bin): adjust dload.sh for file management

This commit is contained in:
dancingCycle 2023-08-28 13:43:27 +02:00
parent 9dd9f127b5
commit bcf523b0dc
1 changed files with 2 additions and 2 deletions

View File

@ -41,14 +41,14 @@ echo "csvFileLower: $csvFileLower"
csvFileLowerPath=${unzipDir}/$csvFileLower
echo "csvFileLowerPath: $csvFileLowerPath"
sed '1s/\(.*\)/\L\1/' $csvFilePath > $csvFileLowerPath
rm $csvFilePath
#TODO rm $csvFilePath
#
csvFileComma=${csvFileNoExt}-dot-lower-comma.csv
echo "csvFileComma: $csvFileComma"
csvFileCommaPath=${unzipDir}/$csvFileComma
echo "csvFileCommaPath: $csvFileCommaPath"
sed -E 's/(");(")/\1\,\2/g' $csvFileLowerPath > $csvFileCommaPath
rm $csvFileLowerPath
#TODO rm $csvFileLowerPath
#
ZHV_CSV_OUTPUT="$3"
echo "ZHV_CSV_OUTPUT: $ZHV_CSV_OUTPUT"