mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-23 12:50:22 +08:00
Strip comments from ends of lines before passing to pip
This commit is contained in:
@@ -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