chroot changes

preferencesAboutTextFull
root 11 years ago
parent b362d24e03
commit 9961d5d59a
  1. 9
      buildDebianPackage.sh

@ -40,6 +40,7 @@ initializeVariables()
GUI_TRANSLATIONS_DIRECTORY_PATH="../Qt-4.8/translations"
QT_LIBRARY_DEST_PATH="$PRODUCT_PATH/qtlib"
QT_LIBRARY_SOURCE_PATH="$QT_PATH/lib"
if [ -z $ARCHITECTURE ]; then
ARCHITECTURE=`uname -m`
if [ "$ARCHITECTURE" == "x86_64" ]; then
ARCHITECTURE="amd64"
@ -47,7 +48,7 @@ initializeVariables()
if [ "$ARCHITECTURE" == "i686" ]; then
ARCHITECTURE="i386"
fi
fi
NOTIFY_CMD=`which notify-send`
QMAKE_PATH="$QT_PATH/bin/qmake"
LRELEASES="$QT_PATH/bin/lrelease"
@ -114,7 +115,7 @@ buildWithStandardQt(){
STANDARD_QT_USED=true
QMAKE_PATH=$STANDARD_QT
LRELEASES=`which lrelease`
if [ "`arch`" == "i686" ]; then
if [ "`arch`" == "i686" ] || [ "$ARCHITECTURE" == "i386" ]; then
QT_PATH="/usr/lib/i386-linux-gnu"
else
QT_PATH="/usr/lib/`arch`-linux-gnu"
@ -148,8 +149,6 @@ buildImporter(){
# script
#**********************
checkUser
initializeVariables
buildWithStandardQt
for var in "$@"
do
@ -165,6 +164,8 @@ do
fi
done
initializeVariables
buildWithStandardQt
alertIfPreviousVersionInstalled

Loading…
Cancel
Save