diff --git a/leiningen-core/src/leiningen/core/project.clj b/leiningen-core/src/leiningen/core/project.clj old mode 100755 new mode 100644 diff --git a/src/leiningen/with_profile.clj b/src/leiningen/with_profile.clj index 3e2aae3d..66a003e9 100644 --- a/src/leiningen/with_profile.clj +++ b/src/leiningen/with_profile.clj @@ -58,8 +58,9 @@ For a detailed description of profiles, see `lein help profiles`." (let [profile-groups (seq (.split profiles ":")) failures (atom 0)] (doseq [profiles (map (partial profiles-in-group project) profile-groups)] - (main/info (format "Performing task '%s' with profile(s): '%s'" - task-name (string/join "," (map name profiles)))) + (when (> (count profile-groups 1)) + (main/info (format "Performing task '%s' with profile(s): '%s'" + task-name (string/join "," (map name profiles))))) (binding [main/*exit-process?* false] (try (with-profiles* project profiles task-name args)