tasmota / docker-tasmota

Docker container with a complete build environment for Tasmota using PlatformIO
77 stars 49 forks source link

fix check of platformio_override.ini #9

Closed Gifford47 closed 2 years ago

Gifford47 commented 2 years ago

if my view, the script was unable to copy the user platformio_override.ini to Tasmota/platformio_override.ini because it was no regular file. changing the test arguments helped (only check if file exists). changed "test -f" to "test -e" to only check if it exists (not if regular file)

barbudor commented 2 years ago

@Gifford47 Is the reason for this change to be able to use symlinks instead of full file for platformio_override.ini ? Because the other case of non-regular files are device, directory and socket which wouldn't make sense anyhow.