mergeAll.sh | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
updatePatch.sh | 补丁 | 查看 | 原始文档 | blame | 历史 |
mergeAll.sh
New file @@ -0,0 +1,21 @@ #!/bin/bash filepath=$1 filestore=$2 echo "filepath: " $filepath echo "filestorepath: " $filestore if [ ! -f $filestore ]; then echo "$filestore not exist" else rm -f $filestore fi for item in `ls $filepath | sort -n` do `cat ${filepath}/${item} >> ${filestore}` echo "merge ${filepath}/${item} to $filestore ok" done echo "file store ok" updatePatch.shold mode 100644 new mode 100755