Use internal bash reader.
This commit is contained in:
parent
f990ded567
commit
2d1a8b3414
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
stack.sh
|
@ -400,7 +400,7 @@ function get_packages() {
|
||||||
|
|
||||||
OIFS=$IFS
|
OIFS=$IFS
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for line in $(cat ${fname}); do
|
for line in $(<${fname}); do
|
||||||
if [[ $line =~ "NOPRIME" ]]; then
|
if [[ $line =~ "NOPRIME" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue