Epics@GSI Webhome

Tools Module Installation Section Code

wget

0. %SETEPICSVARIABLES%
%PROMPT% %EXPORT_CMD% MYEPICS_VERSION=${MYEPICS_VERSION:-%EPICS_VERSION%}
%PROMPT%   %EPICSLOGIN_CMD%
  1. %CREATEDOWNLOADDIREXPORTPART1% %EPICSDOWNLOADDIR% %CREATEDOWNLOADDIREXPORTPART2%
    %PROMPT% [ -z "%EPICSDOWNLOADDIR%" ] && %EXPORT_CMD% %EPICSDOWNLOADDIR%=%EPICSDOWNLOADDIRDUMMY%
    %CREATEDOWNLOADDIR%
    %PROMPT% %MKDIR_CMD% %$module_DOWNLOADPATH%
  2. %DOWNLOADOF% %$module_SRCNAME% (version as of %$module_VERSIONDATE% is %$module_VERSION%) %DOWNLOADFROM% %$module_DOWNLOADADRESS% %DOWNLOADTO% %$module_DOWNLOADPATH%
    %PROMPT% %CD_CMD% %$module_DOWNLOADPATH% &&
      %WGET_CMD% %$module_DIRECTDOWNLOADADRESS%/%$module_TARFILENAME%
  3. %MAKEINSTALLDIR%
    %PROMPT% %MKDIR_CMD% %$module_SRCDIR%
  4. %UNTARFILETO% %$module_SRCDIR%
    %PROMPT% %CD_CMD% %$module_SRCDIR% &&
      %UNTAR_CMD% %$module_DOWNLOADPATH%/%$module_TARFILENAME%
    (%$module_VERSIONCOMMENT%)
  5. %PROMPT% %CD_CMD% %$module_TOPLEVELDIR%

Tools Module Installation Section Code - compact

%EXPORT_CMD% MYEPICS_VERSION=${MYEPICS_VERSION:-%EPICS_VERSION%} &&
  %EPICSLOGIN_CMD% &&

[ -z "%EPICSDOWNLOADDIR%" ] && %EXPORT_CMD% %EPICSDOWNLOADDIR%=%EPICSDOWNLOADDIRDUMMY% &&

%MKDIR_CMD% %$module_DOWNLOADPATH% &&
%CD_CMD% %$module_DOWNLOADPATH% &&
  %WGET_CMD% %$module_DIRECTDOWNLOADADRESS%/%$module_TARFILENAME%
&&
%MKDIR_CMD% %$module_SRCDIR% &&
%CD_CMD% %$module_SRCDIR% &&
  %UNTAR_CMD% %$module_DOWNLOADPATH%/%$module_TARFILENAME%
&&

%CD_CMD% %$module_TOPLEVELDIR% &&

git

0. %SETEPICSVARIABLES%
%PROMPT% %EXPORT_CMD% MYEPICS_VERSION=${MYEPICS_VERSION:-%EPICS_VERSION%}
%PROMPT%   %EPICSLOGIN_CMD%
  1. %MAKEINSTALLDIR%
    %PROMPT% %MKDIR_CMD% %$module_SRCDIR%
  2. Clone branch %$module_VERSION% from %$module_GIT_REPOSITORY% within %$module_SRCDIR%
    %PROMPT% %CD_CMD% %$module_SRCDIR% &&
      git clone %$module_GIT_CLONE_OPTION% %$module_GIT_REPOSITORY%
  3. %PROMPT% %CD_CMD% %$module_TOPLEVELDIR%

Tools Module Installation Section Code - compact

%EXPORT_CMD% MYEPICS_VERSION=${MYEPICS_VERSION:-%EPICS_VERSION%} &&
  %EPICSLOGIN_CMD% &&

%MKDIR_CMD% %$module_SRCDIR% &&
%CD_CMD% %$module_SRCDIR% &&
  git clone %$module_GIT_CLONE_OPTION% %$module_GIT_REPOSITORY%
&&

%CD_CMD% %$module_TOPLEVELDIR% &&


-- PeterZumbruch - 2020-08-17
Topic revision: r12 - 2020-11-09, PeterZumbruch - This page was cached on 2024-11-12 - 17:19.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)