remove dsc on debian-pkg

This commit is contained in:
jiangcuo 2024-11-21 14:52:52 +08:00
parent 9b20c2ffdc
commit 7bddd197c6
2 changed files with 1 additions and 9 deletions

View File

@ -27,13 +27,8 @@ exec_build(){
cp ../*.deb ../*.buildinfo ../*.changes ../*.dsc ../*.tar.* $PKGDIR
fi
else
dpkg-buildpackage -us -uc -S -d ||errlog "build dsc error"
# We need copy deb files first beacuse of deb will be clean when dsc build
dpkg-buildpackage -b -us -uc ||errlog "build deb error"
cp ../*.deb ../*.buildinfo ../*.changes ../*.dsc ../*.tar.* $PKGDIR
if [ $dscflag == "dsc" ];then
dpkg-buildpackage -b -us -uc ||errlog "build deb error"
cp ../*.deb ../*.buildinfo ../*.changes ../*.dsc ../*.tar.* $PKGDIR
fi
fi
}

View File

@ -22,9 +22,6 @@ exec_build_dpkg(){
echo "clean "
make clean || echo ok
echo "build deb in `pwd` "
if [ $dscflag == "dsc" ];then
dpkg-buildpackage -us -uc -S -d || errlog "build dsc error"
fi
dpkg-buildpackage -b -us -uc || errlog "build deb error"
}