diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 9fd80eeb78..9083f09e7e 100755 --- a/debian/rules +++ b/debian/rules @@ -2928,9 +2928,11 @@ ifeq "$(ENABLE_JAVA)" "y" endif ifeq "$(ENABLE_FIREBIRD)" "y" - mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry - mv $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd \ - $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry + if [ -f $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd ]; then \ + mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry; \ + mv $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd \ + $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry; \ + fi endif ifeq "$(PACKAGE_SDK)" "y" |