in reply to Re: Porting Code from windows to *nix help
in thread Porting Code from windows to *nix help
Hi sorry for TMI, below is the part that is not working, in that it doesnt seem to get the correct information from the dir and returns : PlayBuild_XMAC.AHV does not exist
Seems to fail in here
open NEWPLAYBUILDFILE, ">", "$c_streamingPlayBuildData/PlayBuild.t +xt.good"; open PLAYBUILDLOGFILE, ">", "$c_streamingPlayBuildData/PlayBuild.t +xt.check"; open FILE, "<", "$c_streamingPlayBuildData/PlayBuild.txt" or die " +Failed to open PlayBuild.txt"; my %buildhash; while (my $line = <FILE>) { my $success = 0; my ($build) = $line =~ s/\n//; #if (!-f "$c_streamingBuildData\\${line}\\PlayBuild_IX86.AHV") if (!-f "$c_streamingBuildData/${line}/PlayBuild_IX86.AHV") { print ("${line}: PlayBuild_IX86.AHV does not exist\n"); print PLAYBUILDLOGFILE ("${line}: PlayBuild_IX86.AHV
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Porting Code from windows to *nix help
by Corion (Patriarch) on Jun 29, 2011 at 21:09 UTC | |
|
Re^3: Porting Code from windows to *nix help
by ikegami (Patriarch) on Jun 29, 2011 at 21:09 UTC | |
by mrbbq (Sexton) on Jun 29, 2011 at 22:04 UTC | |
by ikegami (Patriarch) on Jun 29, 2011 at 22:58 UTC |