Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[RefData][Tools] Better cleaning (remove the temporary header file).

  • Loading branch information...
commit 0796e373ee99977796024dec6397ce09ec968734 1 parent 2d27db2
@denisarnaud denisarnaud authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  refdata/tools/preprepare_geonames_dump_file.sh
View
1  refdata/tools/preprepare_geonames_dump_file.sh
@@ -188,6 +188,7 @@ sort -t'^' -k1,1 -k2,2 -k11,11 ${GEO_RAW_FILE} > ${GEO_RAW_FILE_TMP}
cat ${GEO_RAW_FILE_HEADER} ${GEO_RAW_FILE} > ${GEO_RAW_FILE_TMP}
sed -i -e "/^$/d" ${GEO_RAW_FILE_TMP}
\mv -f ${GEO_RAW_FILE_TMP} ${GEO_RAW_FILE}
+\rm -f ${GEO_RAW_FILE_HEADER}
##
# Reporting
Please sign in to comment.
Something went wrong with that request. Please try again.