diff --git a/src/webportal/build/build-pre.sh b/src/webportal/build/build-pre.sh index 7c86008927..2f2fe8f119 100755 --- a/src/webportal/build/build-pre.sh +++ b/src/webportal/build/build-pre.sh @@ -21,7 +21,7 @@ pushd $(dirname "$0") > /dev/null mkdir -p "../dependency" cp -arf "../../../docs" "../../../examples" "../dependency" -cp -arf "../../../version" "../version" +cp -arfT "../../../version" "../version" if [ "$ATTACH_COMMIT_ID" = true ]; then echo `git rev-parse HEAD | cut -c1-6` > ../version/COMMIT.VERSION else