Skip to content
Snippets Groups Projects
Commit 43d6bb4d authored by Aleksandr Vodianov's avatar Aleksandr Vodianov
Browse files

update linux build

parents 2af3ac14 1f320e9e
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ error=0
#2DO: add trap command to clean the sources on exit.
trap cleanup SIGINT
codename=$(lsb_release -a | grep Codename | cut -f2)
dpkg-buildpackage -J -us --changes-option=--build=any -uc && mkdir -p build && rm ../*dbgsym*.deb && \
dpkg-buildpackage -J -us --changes-option=--build=any -uc && mkdir -p build && { rm ../*dbgsym*.deb || true } && \
for filepkg in $(ls .. | grep .deb | grep -v $codename); do
mv ../$filepkg build/$filepkg
done || error=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment