impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Robinson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IMPALA-5716) Switching to / from distcc can delete cmake_modules/*
Date Tue, 25 Jul 2017 00:50:00 GMT
Henry Robinson created IMPALA-5716:
--------------------------------------

             Summary: Switching to / from distcc can delete cmake_modules/*
                 Key: IMPALA-5716
                 URL: https://issues.apache.org/jira/browse/IMPALA-5716
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 2.10.0
            Reporter: Henry Robinson
            Assignee: Henry Robinson
            Priority: Minor


If {{$IMPALA_HOME}} ends with a /, the {{clean_cmake_files}} function in {{distcc_env.sh}}
will emit a {{find}} command with a double // at the end for the {{cmake_modules}} directory,
and since it contains the substring {{cmake}}, {{find}} will match and delete its contents.

Fix is to strip trailing /s from IMPALA_HOME in that method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message