Package list splix / c42f949
Set IFS when looping over the file to avoid letting /bin/bash trim the whitespace as this makes the build unreproducible. The whitespace in the original .drv.in files should be fixed nevertheless. Last-Update: 2016-06-12 Didier Raboud authored 3 years ago Didier Raboud committed 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1313 # Function parseFile
1414 #
1515 parseFile() {
16 while read LINE; do
16 while IFS= read LINE; do
1717 if [ -n "`echo "$LINE" | grep '^[ \t]*#import[ \t]*"[a-zA-Z0-9\.\-]*"'`" ]; then
1818 FILE=`echo "$LINE" | sed -re 's/[ \t]*#import[ \t]"([a-zA-Z0-9\.\-]*)"/\1/'`
1919 parseFile $FILE $2