Marcel Telka
2022-12-16 1c7690dcf60bbe304ee4d0271dba0646178925a1
tools/python-resolve-deps: handle DOS line ends

1 files modified
4 ■■■■ changed files
tools/python-resolve-deps 4 ●●●● patch | view | raw | blame | history
tools/python-resolve-deps
@@ -34,13 +34,13 @@
    if [ "${line:0:2}" == "-r" ] ; then
        line=${line:2}
        while [ "${line:0:1}" == " " ] ; do line=${line:1} ; done
        $0 < $line
        dos2unix -ascii $line | $0
        continue
    fi
    if [ "${line:0:13}" == "--requirement" ] ; then
        line=${line:14}
        while [ "${line:0:1}" == " " ] ; do line=${line:1} ; done
        $0 < $line
        dos2unix -ascii $line | $0
        continue
    fi
    echo "$line"