mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-17 23:51:05 +02:00
302ddfe4ef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29829 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
566 B
Diff
21 lines
566 B
Diff
--- a/bin/quilt.in
|
|
+++ b/bin/quilt.in
|
|
@@ -7,9 +7,15 @@
|
|
# See the COPYING and AUTHORS files for more details.
|
|
|
|
export TEXTDOMAIN=quilt
|
|
-export TEXTDOMAINDIR=@LOCALEDIR@
|
|
|
|
-: ${QUILT_DIR=@QUILT_DIR@} ${QUILT_LIB=@QUILT_LIB@}
|
|
+if test -n "$STAGING_DIR"; then
|
|
+ export TEXTDOMAINDIR="$STAGING_DIR/../host/share/locale"
|
|
+ : ${QUILT_DIR=$STAGING_DIR/../host/share/quilt} ${QUILT_LIB=$STAGING_DIR/../host/lib/quilt}
|
|
+else
|
|
+ export TEXTDOMAINDIR=@LOCALEDIR@
|
|
+ : ${QUILT_DIR=@QUILT_DIR@} ${QUILT_LIB=@QUILT_LIB@}
|
|
+fi
|
|
+
|
|
export QUILT_DIR QUILT_LIB
|
|
|
|
if [ -z "$QUILTRC" ]
|