gettext-full: fix relocatable patch
[openwrt/openwrt.git] / 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