config.local errors when file uses carriage return
Closed this issue · 0 comments
timonsku commented
Adding my own config options seems to cause issues if the file is created under windows with carriage return on the line end.
The config parses correctly but when the value for f.e. resizing the partition is passed to dd it gets fed a carriage return.
....
EDITBASE_IMAGE_ENLARGEROOT=2000
EDITBASE_IMAGE_RESIZEROOT=200
EDITBASE_MOUNT_PATH=/CustoPiZer/workspace/mount
EDITBASE_PYPI_INDEX=
EDITBASE_ROOT_PARTITION=2
EDITBASE_WORKSPACE=/CustoPiZer/workspace
================================================================
/CustoPiZer/workspace /
MB to partition 2 of /CustoPiZer/workspace/output.img
dd: invalid number: '2000\r'