Moved patchrepo in build_hipvdi.sh out of condition that checks for existence of a build dir. This will not always be true.
@@ -90,11 +90,11 @@ if [ "$1" == "install" ] ; then
$SUDO rm $AOMP_INSTALL_DIR/testfile
fi
+patchrepo $AOMP_REPOS/$AOMP_HIPVDI_REPO_NAME
if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
if [ -d "$BUILD_DIR/build/hipvdi" ] ; then
- patchrepo $AOMP_REPOS/$AOMP_HIPVDI_REPO_NAME
echo
echo "FRESH START , CLEANING UP FROM PREVIOUS BUILD"
echo rm -rf $BUILD_DIR/build/hipvdi
