gettext-full: fix relocatable patch
authorFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jan 2016 23:21:03 +0000 (23:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jan 2016 23:21:03 +0000 (23:21 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48420

package/libs/gettext-full/patches/000-relocatable.patch

index c475579b39d90f1f665ba1522e297ec1ba147921..c14be728367b57c08024d848cf8ff847cfe865be 100644 (file)
@@ -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