mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-05 16:31:15 -05:00
20 lines
396 B
Bash
Executable File
20 lines
396 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ ${CI_LINUX} = true ]; then
|
|
debuild -i -us -uc -b
|
|
else
|
|
mkdir -p build; cd build
|
|
cmake .. -GNinja ${CMAKE_CUSTOM_OPTIONS}
|
|
|
|
case "${CMAKE_CUSTOM_OPTIONS}" in
|
|
*BUNDLE=ON*)
|
|
cmake --build . --target package
|
|
;;
|
|
*)
|
|
cmake --build .
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
sudo chrpath -r /usr/lib/sdrangel /usr/lib/sdrangel/libdsdcc.so
|