Hi,

wouldn't it be sufficient to use 'ssphys' on both platforms, since windows is case insensitive and the extension ".exe" must not be specified either. I gave this a fast try, and it worked here.

BTW.: ssphys.exe it specified twice One time in the Initialize function and the other time in the SetupGlobals. If you use the --resume option, the one from the SetupGlobals is used.

Dirk

Kenneth Porter schrieb:
Can those of you running under Windows verify that this idiom does the right thing? $^O is supposed to return the OS name. Under Linux, the ssphys program has no extension and the name is all lowercase.

[EMAIL PROTECTED] pin_handler]$ svn diff
Index: vss2svn.pl
===================================================================
--- vss2svn.pl  (revision 223)
+++ vss2svn.pl  (working copy)
@@ -1484,7 +1484,7 @@
    rmtree($gCfg{vssdata}) if (-e $gCfg{vssdata});
    mkdir $gCfg{vssdata};

-    $gCfg{ssphys} ||= 'SSPHYS.exe';
+    $gCfg{ssphys} ||= ($^O =~ /Win/) ? 'SSPHYS.exe' : 'ssphys';
    $gCfg{svn} ||= 'SVN.exe';

    $gCfg{task} = 'INIT';
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user


_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user

Reply via email to