Closed mike2718 closed 9 years ago
echo ^<User "anonymous"^> >> %DIST%\slimftpd.conf
echo ^ Mount / . >> %DIST%\slimftpd.conf
VERSION
variable (add empty lines (as in mk_release.sh))cmd
extension (it looks more pretty)rmdir /s /q dist
before mkdir ...
to avoid 'already exists' warningset DIST=dist\SlimFTPd
mkdir %DIST%
copy /y SlimFTPd.exe %DIST%\
@igelbox I am trying to use awk.exe to get version number from SlimFTPd.rc.
awk
, e.g.:for /f "tokens=3" %%a in ('findstr ProductVersion src\SlimFTPd.rc') do (set VERSION=%%a)
set VERSION=%VERSION:"=%
then VERSION.txt is redundant
del /f /q %NAME%\*
is redundantI fixed and merged your commit dc2d02f763458c1813cd8095e4065d1fdec35449 into the master branch
Similar with mk_release.sh