Added CRLF checks for main.py to build script

* For consistancy between platforms
This commit is contained in:
2Shirt 2017-12-18 00:49:05 -07:00
parent 5ea03da0a4
commit 3b0b103590
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@ archiso
attr
base-devel
curl
dos2unix
git
libewf
openssh

View file

@ -77,6 +77,7 @@ function load_settings() {
# Copy settings
if [[ ! -e "$BUILD_DIR/main.py" ]] || ask "Overwrite main.py?"; then
cp -bv "$ROOT_DIR/.bin/Scripts/settings/main.py" "$BUILD_DIR/main.py"
unix2dos "$BUILD_DIR/main.py"
fi
# Edit settings