diff --git a/scripts/pack_common.sh b/scripts/pack_common.sh index cc07fa3823..e62fb57ca5 100755 --- a/scripts/pack_common.sh +++ b/scripts/pack_common.sh @@ -60,7 +60,7 @@ function copy_file() echo "ERROR: invalid copy file command: cp $*" exit 1 fi - cp -v $* + cp -Lrv $* if [ $? -ne 0 ]; then echo "ERROR: copy file failed: cp $*" exit 1