Strip comments from ends of lines before passing to pip

This commit is contained in:
Jonathan Kamens
2012-10-11 10:57:27 -04:00
committed by Eddie Hebert
parent 23076ae7f1
commit df729e01ed
+1
View File
@@ -4,6 +4,7 @@ a=0
while read line
do
if [[ -n "$line" && "$line" != \#* ]] ; then
line=${line%#*}
pip install $line
fi
((a = a + 1))