aboutsummaryrefslogtreecommitdiffstats
path: root/emu-radio
diff options
context:
space:
mode:
Diffstat (limited to 'emu-radio')
-rw-r--r--emu-radio/scripts/build-package.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/emu-radio/scripts/build-package.sh b/emu-radio/scripts/build-package.sh
index d77d1b64..127d785a 100644
--- a/emu-radio/scripts/build-package.sh
+++ b/emu-radio/scripts/build-package.sh
@@ -201,12 +201,7 @@ fi
BLD_NUMBER=${BUILD_NUMBER:-"1"}
# Install libns3
-
pushd ../ns3-packages
-mv libns3sx-3v5_3.24.1-6~xenial_amd64.deb libns3sx-3v5_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-mv libns3sx-dev_3.24.1-6~xenial_amd64.deb libns3sx-dev_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-mv ns3sx_3.24.1-6~xenial_amd64.deb ns3sx_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-
sudo dpkg -i *.deb || true
sudo apt-get -f install -y --allow-unauthenticated || true
popd
@@ -223,4 +218,11 @@ pushd ..
build "-DLTE=ON -DWIFI=OFF"
make package
find . -not -name '*.deb' -not -name '*.rpm' -print0 | xargs -0 rm -rf -- || true
+popd
+
+# Change build number to ns3 packages
+pushd ../ns3-packages
+mv libns3sx-3v5_3.24.1-6~xenial_amd64.deb libns3sx-3v5_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
+mv libns3sx-dev_3.24.1-6~xenial_amd64.deb libns3sx-dev_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
+mv ns3sx_3.24.1-6~xenial_amd64.deb ns3sx_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
popd \ No newline at end of file