getenv provides one output on windows

time-shift
Houtan Bastani 2015-03-27 18:58:35 +01:00
parent 575cbfe679
commit 34c871b53c
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ if exist(fname(1:end-4),'dir') && exist([fname(1:end-4) filesep 'hooks'],'dir')
end
if ispc
[junk, arch] = getenv('PROCESSOR_ARCHITECTURE');
arch = getenv('PROCESSOR_ARCHITECTURE');
else
[junk, arch] = system('uname -m');
end