Author: nbd
Date: 2016-01-21 00:21:03 +0100 (Thu, 21 Jan 2016)
New Revision: 48420

Modified:
   trunk/package/libs/gettext-full/patches/000-relocatable.patch
Log:
gettext-full: fix relocatable patch

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/libs/gettext-full/patches/000-relocatable.patch
===================================================================
--- trunk/package/libs/gettext-full/patches/000-relocatable.patch       
2016-01-20 22:59:34 UTC (rev 48419)
+++ trunk/package/libs/gettext-full/patches/000-relocatable.patch       
2016-01-20 23:21:03 UTC (rev 48420)
@@ -6,7 +6,7 @@
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
 +if [ -n "$STAGING_DIR" ]; then
-+      prefix="$STAGING_DIR/../host"
++      prefix="$STAGING_DIR/host"
 +else
 +      prefix="@prefix@"
 +fi
@@ -21,7 +21,7 @@
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
 +if [ -n "$STAGING_DIR" ]; then
-+      prefix="$STAGING_DIR/../host"
++      prefix="$STAGING_DIR/host"
 +else
 +      prefix="@prefix@"
 +fi
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to