Skip to content

Commit

Permalink
Modify build_debpackage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Oct 15, 2024
1 parent 50634d6 commit 9085bcb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build_debpackage.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#!/bin/bash

if [ -f /usr/bin/qmake -a -z "$QT_ROOT" ]; then
QMAKE=qmake
if [ -f /usr/lib/`uname -a`-linux-gnu/cmake/Qt6 -a -z "$QT_ROOT" ]; then
QT_ROOT=/usr/lib/`uname -a`-linux-gnu/cmake/Qt6
fi

if [ -n "$1" ]; then
QMAKE=$1
fi

if [ ! -f /usr/bin/qmake -a -z "$QT_ROOT" ]; then
if [ -z "$QT_ROOT" ]; then
echo "$0 QMAKE RabbitCommon_DIR"
exit -1
fi
Expand Down

0 comments on commit 9085bcb

Please sign in to comment.