Skip to content

Commit

Permalink
build_docs: rsync add delete flag (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin authored Jan 13, 2025
1 parent 64e6ff8 commit 489c1c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build_docs/linuxdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ if [ "$skipboostoption" = "yes" ] ; then
mkdir -p $librarypath
# running cp multiple times will fail to overwrite certain .git files
# cp -r ${BOOST_SRC_FOLDER}/!(boost-root) ${librarypath} || true
rsync -av --exclude 'boost-root' $BOOST_SRC_FOLDER/ $librarypath
rsync -av --exclude 'boost-root' --delete $BOOST_SRC_FOLDER/ $librarypath
fi
fi
else
Expand All @@ -351,7 +351,7 @@ else
mkdir -p $librarypath
# running cp multiple times will fail to overwrite certain .git files
# cp -r ${BOOST_SRC_FOLDER}/!(boost-root) ${librarypath} || true
rsync -av --exclude 'boost-root' $BOOST_SRC_FOLDER/ $librarypath
rsync -av --exclude 'boost-root' --delete $BOOST_SRC_FOLDER/ $librarypath
fi
fi

Expand Down
4 changes: 2 additions & 2 deletions build_docs/macosdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ if [ "$skipboostoption" = "yes" ] ; then
mkdir -p $librarypath
# running cp multiple times will fail to overwrite certain .git files
# cp -r ${BOOST_SRC_FOLDER}/!(boost-root) ${librarypath} || true
rsync -av --exclude 'boost-root' $BOOST_SRC_FOLDER/ $librarypath
rsync -av --exclude 'boost-root' --delete $BOOST_SRC_FOLDER/ $librarypath
fi
fi
else
Expand All @@ -379,7 +379,7 @@ else
mkdir -p $librarypath
# running cp multiple times will fail to overwrite certain .git files
# cp -r ${BOOST_SRC_FOLDER}/!(boost-root) ${librarypath} || true
rsync -av --exclude 'boost-root' $BOOST_SRC_FOLDER/ $librarypath
rsync -av --exclude 'boost-root' --delete $BOOST_SRC_FOLDER/ $librarypath
fi
fi

Expand Down

0 comments on commit 489c1c3

Please sign in to comment.