summaryrefslogtreecommitdiff
path: root/scripts/build-submodules
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-submodules')
-rwxr-xr-xscripts/build-submodules3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-submodules b/scripts/build-submodules
index 31bf55a3..a84e0b93 100755
--- a/scripts/build-submodules
+++ b/scripts/build-submodules
@@ -153,6 +153,8 @@ build_frr() {
( set -e; set -x
cd $PKGDIR/$PKG
+ git clean -dxf
+ git reset --hard
# Run bootstrap.sh and make a dist tarball
# http://docs.frrouting.org/projects/dev-guide/en/latest/packaging-debian.html
@@ -170,7 +172,6 @@ build_frr() {
tar xf ../frr_*.orig.tar.gz
cd frr*
source /etc/os-release
- ls -al ../../frr_*${ID}${VERSION_ID}*
tar xf ../../frr_*${ID}${VERSION_ID}*.debian.tar.xz
# As libyang is not (yet) build and installed as native Debian package FRR