def _precommand(self): Builder._precommand(self) if not self._is_epics_base: self._create_releasefile() self._create_askapdefs() shutil.copy(self._releasefile, os.path.join(self._package, "configure")) if self._oldreleasefile is not None: shutil.copy(self._releasefile, os.path.join(self._package, "configure", self._oldreleasefile)) self._update_version_file()
def _precommand(self): Builder._precommand(self) if not self._is_epics_base: self._create_releasefile() self._create_askapdefs() shutil.copy(self._releasefile, os.path.join(self._package, "configure")) if self._oldreleasefile is not None: shutil.copy( self._releasefile, os.path.join(self._package, "configure", self._oldreleasefile)) self._update_version_file()
def _precommand(self): Builder._precommand(self) if os.path.exists(os.path.join(self._package, "pvaSrv")): #epicsV4 needs to know where EPICS v3 base is os.environ["EPICS_BASE"] = self._epicsbase elif not self._is_epics_base: self._create_releasefile() self._create_askapdefs() dstdir = os.path.join(self._package, "configure") if not os.path.exists(dstdir): os.mkdir(dstdir) shutil.copy(self._releasefile, dstdir) if self._oldreleasefile is not None: shutil.copy(self._releasefile, os.path.join(dstdir, self._oldreleasefile)) self._update_version_file()