Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
executable file 13 lines (13 sloc) 279 Bytes
#!/bin/zsh
for dir in */; do
if [[ ! -d $dir ]]; then
continue
fi
if [[ -e $dir/bin/python2 ]]; then
interpreter=python2
else
interpreter=python3
fi
find $dir -type l -delete
virtualenv -p /usr/local/bin/$interpreter $dir
done