On Fri, Mar 12, 2021 at 09:02:06AM +0800, Li Ping wrote:
Signed-off-by: Li Ping 1477412247@qq.com
src/lib/job.cr | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/lib/job.cr b/src/lib/job.cr index 2177b22..1fbf646 100644 --- a/src/lib/job.cr +++ b/src/lib/job.cr @@ -277,11 +277,8 @@ class Job # same usage for client mount_type = "nfs" if mount_type == "cifs"
- if @hash["rpmbuild-pkg"]?
common_dir = "#{tmp_os}/#{tmp_os_arch}/#{tmp_os_version}"
- else
common_dir = "#{mount_type}/#{tmp_os}/#{tmp_os_arch}/#{tmp_os_version}"
- end
- common_dir = "#{mount_type}/#{tmp_os}/#{tmp_os_arch}/#{tmp_os_version}"
- common_dir = "#{tmp_os}-#{tmp_os_version}/#{tmp_os_arch}" if @hash["rpmbuild-pkg"]?
use @hash.has_key?()
Thanks, Xueliang
return common_dir
end
2.23.0