Added CRLF checks for main.py to build script
* For consistancy between platforms
This commit is contained in:
parent
5ea03da0a4
commit
3b0b103590
2 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ archiso
|
||||||
attr
|
attr
|
||||||
base-devel
|
base-devel
|
||||||
curl
|
curl
|
||||||
|
dos2unix
|
||||||
git
|
git
|
||||||
libewf
|
libewf
|
||||||
openssh
|
openssh
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,7 @@ function load_settings() {
|
||||||
# Copy settings
|
# Copy settings
|
||||||
if [[ ! -e "$BUILD_DIR/main.py" ]] || ask "Overwrite main.py?"; then
|
if [[ ! -e "$BUILD_DIR/main.py" ]] || ask "Overwrite main.py?"; then
|
||||||
cp -bv "$ROOT_DIR/.bin/Scripts/settings/main.py" "$BUILD_DIR/main.py"
|
cp -bv "$ROOT_DIR/.bin/Scripts/settings/main.py" "$BUILD_DIR/main.py"
|
||||||
|
unix2dos "$BUILD_DIR/main.py"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Edit settings
|
# Edit settings
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue