[freenet-cvs] r13189 - trunk/apps/new_installer/res/windows/bin

nextgens at freenetproject.org nextgens at freenetproject.org
Thu May 10 00:46:16 UTC 2007


Author: nextgens
Date: 2007-05-10 00:46:16 +0000 (Thu, 10 May 2007)
New Revision: 13189

Modified:
   trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
Log:
new_installer: fix both cases

Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd	2007-05-10 00:34:56 UTC (rev 13188)
+++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd	2007-05-10 00:46:16 UTC (rev 13189)
@@ -59,7 +59,8 @@
 @if errorlevel 0 goto pwgenerated
 @echo "Error while creating the freenet user! let's try something else..."
 :: try with a better password
- at set PASSWORD=Freenet_0@%PASSWORD%-
+ at set TMPPASSWORD=Freenet_0@%PASSWORD%-
+ at set PASSWORD=%TMPPASSWORD:~0,12%
 @net user freenet %PASSWORD% /add /comment:"this user is used by freenet: do NOT delete it!" /expires:never /passwordchg:no /fullname:"Freenet dedicated user"
 @if errorlevel 0 goto pwgenerated
 :: We shouldn't reach that point




More information about the cvs mailing list