install.bat 1.27 KB
Newer Older
1 2
@echo off
rem ##########################################################################
3 4 5 6 7 8
rem  This file is part of LImA, a Library for Image Acquisition
rem
rem   Copyright (C) : 2009-2017
rem   European Synchrotron Radiation Facility
rem   BP 220, Grenoble 38043
rem   FRANCE
9
rem
10
rem   Contact: lima@esrf.fr
11
rem
12 13 14 15
rem   This is free software; you can redistribute it and/or modify
rem   it under the terms of the GNU General Public License as published by
rem   the Free Software Foundation; either version 3 of the License, or
rem   (at your option) any later version.
16
rem
17 18 19 20
rem   This software is distributed in the hope that it will be useful,
rem   but WITHOUT ANY WARRANTY; without even the implied warranty of
rem   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rem   GNU General Public License for more details.
21
rem
22 23 24 25
rem   You should have received a copy of the GNU General Public License
rem   along with this program; if not, see <http://www.gnu.org/licenses/>.
rem ###########################################################################

Aitor Henry's avatar
Aitor Henry committed
26 27 28 29 30 31
cd scripts/
if not exist config.txt (
    copy /y config.txt_default config.txt
)

cd ..
32
rem we call the main script, with options as arguments.
Aitor Henry's avatar
Aitor Henry committed
33

34
call python scripts/bootstrap.py %*
Aitor Henry's avatar
Aitor Henry committed
35

36
exit /b %ERRORLEVEL%