Skip to content

Commit 81cfce4

Browse files
committed
platform agnostic
1 parent 982318c commit 81cfce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

version_increment_pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
""".format(VERSION_PREFIX + str(VERSION_PATCH_NUMBER), datetime.datetime.now())
5454

5555
if os.environ.get('PLATFORMIO_INCLUDE_DIR') is not None:
56-
VERSION_HEADER = os.environ.get('PLATFORMIO_INCLUDE_DIR') + "/" + VERSION_HEADER
56+
VERSION_HEADER = os.environ.get('PLATFORMIO_INCLUDE_DIR') + os.sep + VERSION_HEADER
5757
elif os.path.exists("include"):
5858
VERSION_HEADER = "include" + os.sep + VERSION_HEADER
5959
else:

0 commit comments

Comments
 (0)