代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony-SIG/third_party_sonic 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
# This file was written by Bill Cox in 2010, and is licensed under the Apache
# 2.0 license.
# Build an original tar-ball for a debian package free of a debian directory and
# .git.
version=`head -1 debian/changelog | sed 's/.*(//
s/-.*//'`
sed -i "s/LIB_TAG=.*/LIB_TAG=$version/" Makefile
if [ "`basename $PWD`" != "sonic-$version" ]; then
echo "Directory name should be sonic-$version"
exit 1
fi
make clean
make -f debian/rules clean
echo "sonic_${version} (git: `git log -1 --oneline | sed 's/ .*//'`)" > version
git2cl > ChangeLog
cd ..
if ! tar -cvzf sonic_$version.orig.tar.gz --exclude-vcs --exclude=debian sonic-$version; then
echo "Could not create sonic_$version.orig.tar.gz"
exit 1
fi
echo "Successfully created sonic_$version.orig.tar.gz"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。