diff --git a/src/installService.py b/src/installService.py index a76ca0b25cd8b005546778e760504cd7c2169942..362c436af76f06d7519cf2881c6930a8ba1b8e5f 100644 --- a/src/installService.py +++ b/src/installService.py @@ -242,7 +242,7 @@ class InstallService: set prefix {install_path} set version {sversion} -setenv {sname.upper()}_PATH {install_path} +setenv {sname.upper().replace('-','_')}_PATH {install_path} {bins_str} {libs_str} {incs_str} @@ -441,4 +441,4 @@ chmod +x {depend_file} content = content.replace(search_old_path.group(1), self.ROOT) self.tool.write_file(file, content) print("update successfully.") - \ No newline at end of file +