Skip to content
Permalink
2a07e0621f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 264 Bytes
#!/bin/bash
PYDIR=.
INSTALLDIR=dist
cd ${PYDIR}
if [ -d bin ]; then
rm -rf bin/*
else
mkdir bin
fi
for FILE in wc_*.py; do
pyinstaller --distpath ${INSTALLDIR} ${FILE}
cp ${INSTALLDIR}/wc_*/* bin
rm -rf ${INSTALLDIR}/wc_*
done
rm -rf ${INSTALLDIR}