Changeset 2370 for install/g2pkg


Ignore:
Timestamp:
Jul 12, 2016 3:15:53 PM (7 years ago)
Author:
toby
Message:

work on windows installation with constructor 1.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/g2pkg/post-link.bat

    r2315 r2370  
    1 REM at present this does not get run in constructor, so it is a place-holder
    2 echo "Preparing to install GSAS-II from APS subversion server"
    3 mkdir %PREFIX%\GSASII
    4 copy %PREFIX%\Scripts\gsas2-install.py %PREFIX%\GSASII\bootstrap.py
    5 REM SET "install=%HOMEPATH%\Desktop\install-gsas2.bat"
    6 REM echo "%PREFIX%\python.exe" "%PREFIX%\GSASII\bootstrap.py"  > %install%
    7 REM echo pause >> %install%
    8 REM set "python=%PREFIX%\python.exe"
    9 REM set "script=%PREFIX%\GSASII\bootstrap.py"
    10 REM %python% %script%
     1echo "Install GSAS-II from APS subversion server (v. 2016/7/11)"
     2rem echo a error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
     3mkdir "%PREFIX%\GSASII"
     4rem echo b error level is %ERRORLEVEL%  >> "%PREFIX%\install-out.txt"
     5copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
     6rem echo c error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
     7set "python=%PREFIX%\python.exe"
     8set "script=%PREFIX%\GSASII\bootstrap.py"
     9rem echo d error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
     10"%python%" "%script%"
     11rem echo e error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
    1112pause
    12 
     13rem echo f error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
     14set errorlevel=0
     15rem echo g error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
    1316exit 0
     17rem echo h error level is %ERRORLEVEL% >> "%PREFIX%\install-out.txt"
Note: See TracChangeset for help on using the changeset viewer.