Permalink
Browse files

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

  • Loading branch information...
1 parent 2d27db2 commit 0796e373ee99977796024dec6397ce09ec968734 @denisarnaud denisarnaud committed Aug 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 0796e37

Please sign in to comment.