[node-patches] Change in ovirt-node[master]: Small fixes for the build script

dcaroest at redhat.com dcaroest at redhat.com
Wed Jul 22 08:26:25 UTC 2015


David Caro has uploaded a new change for review.

Change subject: Small fixes for the build script
......................................................................

Small fixes for the build script

* Not assuming any dir structure
* Not removing everything non-git in the dir (jenkins will already have a clean
  copy), this will be improved in the runner to allow it, but for now it's
  faster to just not do it here

Change-Id: Icdfb4f4d30ef871e4ae1eeeaa2d7b6ee9fb822e9
Signed-off-by: David Caro <dcaroest at redhat.com>
---
M automation/build-node.sh
1 file changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/43885/1

diff --git a/automation/build-node.sh b/automation/build-node.sh
index 17c54bc..a011b59 100755
--- a/automation/build-node.sh
+++ b/automation/build-node.sh
@@ -11,7 +11,7 @@
 
 #sets the env variables required for the rest
 export CACHE="$PWD"/build
-export OVIRT_NODE_BASE="$PWD/.."
+export OVIRT_NODE_BASE="$PWD"
 export OVIRT_CACHE_DIR="$CACHE"
 export OVIRT_LOCAL_REPO=file://"$OVIRT_CACHE_DIR"/ovirt
 
@@ -22,9 +22,7 @@
 done
 
 rm -rf "$CACHE"
-cd "$OVIRT_NODE_BASE"/ovirt-node
-# get rid of old makefiles
- git clean -dfx
+cd "$OVIRT_NODE_BASE"
 # generate new makefiles
 ./autogen.sh
 make distclean || clean_failed=true


-- 
To view, visit https://gerrit.ovirt.org/43885
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icdfb4f4d30ef871e4ae1eeeaa2d7b6ee9fb822e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaroest at redhat.com>



More information about the node-patches mailing list