Commit d5c615c8 authored by Jan Kiene's avatar Jan Kiene
Browse files

add if in build-binaries.sh

parent 908bdd6d
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -74,10 +74,13 @@ bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/activate-debug-mode-info-i
make clean
make -j "$(nproc)"

# avoid errors in mv when renaming to same file
if [[ "$mode" != "merge-source" ]]; then
  mv IVAS_cod "$ivas_cod_filename"
  mv IVAS_dec "$ivas_dec_filename"
  mv IVAS_rend "$ivas_rend_filename"
  if [ -f ISAR_post_rend ]; then mv ISAR_post_rend "$isar_post_rend_filename"; fi
fi

# return to current branch
git restore .