mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 13:09:32 +08:00
Strip comments from ends of lines before passing to pip
This commit is contained in:
committed by
Eddie Hebert
parent
23076ae7f1
commit
df729e01ed
@@ -4,6 +4,7 @@ a=0
|
||||
while read line
|
||||
do
|
||||
if [[ -n "$line" && "$line" != \#* ]] ; then
|
||||
line=${line%#*}
|
||||
pip install $line
|
||||
fi
|
||||
((a = a + 1))
|
||||
|
||||
Reference in New Issue
Block a user