diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-28 02:28:01 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-28 02:28:01 +0200 |
commit | fb40f4ede72e804b9449da8f3a53f96c53b4f1e1 (patch) | |
tree | 0cfc9e8c78ead7d43be02b95778a814acd56222b /solenv/gbuild/JavaClassSet.mk | |
parent | b90f400d4606a134d2992714b62427df2956a200 (diff) |
handle empty JavaClassSets gracefully
Diffstat (limited to 'solenv/gbuild/JavaClassSet.mk')
-rw-r--r-- | solenv/gbuild/JavaClassSet.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk index 33d3b32265a6..a7dd1ba18a9c 100644 --- a/solenv/gbuild/JavaClassSet.mk +++ b/solenv/gbuild/JavaClassSet.mk @@ -31,7 +31,7 @@ gb_JavaClassSet_JAVACCOMMAND := $(JAVACOMPILER) define gb_JavaClassSet__command $(call gb_Helper_abbreviate_dirs_native,\ mkdir -p $(dir $(1)) && \ - $(gb_JavaClassSet_JAVACCOMMAND) -cp "$(CLASSPATH)" -d $(call gb_JavaClassSet_get_classdir,$(2)) $(3) && \ + $(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) -cp "$(CLASSPATH)" -d $(call gb_JavaClassSet_get_classdir,$(2)) $(3) &&) \ touch $(1)) endef |