Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: substitute engineVersion.js in target that actually 
create it
......................................................................

packaging: substitute engineVersion.js in target that actually create it

Change-Id: Ic648d17d8a54b78b10b0e85c88c613e6002108a5
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M Makefile
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/11579/1

diff --git a/Makefile b/Makefile
index 2d781f9..368dd70 100644
--- a/Makefile
+++ b/Makefile
@@ -284,6 +284,8 @@
                ln -s "$(PKG_JAVA_DIR)/$${jar}.jar" "$(DESTDIR)$${path}.jar"; \
        done
 
+       sed -i "s/MYVERSION/$(RPM_VERSION)-$(RPM_RELEASE_VERSION)/" 
$(DESTDIR)$(PKG_EAR_DIR)/root.war/engineVersion.js
+
 install_setup:
        @echo "*** Deploying setup executables"
 
@@ -327,8 +329,6 @@
 
        # Backups folder
        install -dm 750 $(DESTDIR)$(ENGINE_STATE)/backups
-
-       sed -i "s/MYVERSION/$(RPM_VERSION)-$(RPM_RELEASE_VERSION)/" 
$(DESTDIR)$(PKG_EAR_DIR)/root.war/engineVersion.js
 
 install_aio_plugin:
        install -m 755 packaging/fedora/setup/plugins/all_in_one_100.py 
$(DESTDIR)$(DATA_DIR)/scripts/plugins


--
To view, visit http://gerrit.ovirt.org/11579
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic648d17d8a54b78b10b0e85c88c613e6002108a5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to