0

There is a file like below

react-native-webrtc
react-native-randombytes
react-native-fs
react-native-callkeep

There is a shell script with two loop like below

while read line
do
    echo ${line}
done < './links.patch'

while read line
do
    react-native link ${line}
done < './links.patch'

First loop print each line working correctly, but second loop only link first one react-native-webrtc library then end loop. Anyone have any idea?

Hsiu Chuan Tsao
  • 1,396
  • 1
  • 12
  • 23

0 Answers0