jprochazka / adsb-exchange

ADS-B Exchange Linux Setup Scripts
http://www.adsbexchange.com
MIT License
48 stars 47 forks source link

Clean double entries #4

Closed dschaper closed 8 years ago

dschaper commented 8 years ago

Remove doubled entries from script

jprochazka commented 8 years ago

Second mkdir command is defiantly a dupe.

CLEANFORMAT=`sed 's/}//g' <<< $CLEANFORMAT` 

however differs from...

CLEANFORMAT=`sed 's/{//g' <<< $CLEANFORMAT`.

The two lines differ being they are removing both the { and } from the string. I am sure there may be a better way to do this though using one line however. Will merge this pull request once this is improved or the CLEANFORMAT=sed 's/{//g' <<< $CLEANFORMAT line is included in the request.

Thanks for looking over the code.

dschaper commented 8 years ago

Completely missed that on the CLEANFORMAT, let me revise the pull...