Skip to content
Snippets Groups Projects
Unverified Commit 421a6d31 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host

parent 40d3401f
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# Set variables # Set variables
# - gettext_datadir directory where the data files are stored. # - gettext_datadir directory where the data files are stored.
-prefix="@prefix@" -prefix="@prefix@"
+if [ -n "$STAGING_DIR" ]; then +if [ -n "$STAGING_DIR_HOSTPKG" ]; then
+ prefix="$STAGING_DIR/host" + prefix="$STAGING_DIR_HOSTPKG"
+else +else
+ prefix="@prefix@" + prefix="@prefix@"
+fi +fi
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
# Set variables # Set variables
# - gettext_datadir directory where the data files are stored. # - gettext_datadir directory where the data files are stored.
-prefix="@prefix@" -prefix="@prefix@"
+if [ -n "$STAGING_DIR" ]; then +if [ -n "$STAGING_DIR_HOSTPKG" ]; then
+ prefix="$STAGING_DIR/host" + prefix="$STAGING_DIR_HOSTPKG"
+else +else
+ prefix="@prefix@" + prefix="@prefix@"
+fi +fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment