2018-02-03 20:00:27 +00:00
|
|
|
--- a/lib/et/compile_et.sh.in
|
|
|
|
+++ b/lib/et/compile_et.sh.in
|
2019-01-15 00:29:18 +00:00
|
|
|
@@ -2,8 +2,14 @@
|
2018-02-03 20:00:27 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
-AWK=@AWK@
|
|
|
|
-DIR=@datadir@/et
|
|
|
|
+if test "x$STAGING_DIR" = x ; then
|
|
|
|
+ AWK=@AWK@
|
|
|
|
+ DIR=@datadir@/et
|
|
|
|
+else
|
|
|
|
+ AWK=awk
|
2019-01-15 00:29:18 +00:00
|
|
|
+ DIR="$STAGING_DIR/../hostpkg/share/et"
|
2018-02-03 20:00:27 +00:00
|
|
|
+fi
|
2019-01-15 00:29:18 +00:00
|
|
|
+
|
2018-02-03 20:00:27 +00:00
|
|
|
|
|
|
|
if test "$1" = "--build-tree" ; then
|
|
|
|
shift;
|
|
|
|
--- a/lib/ss/mk_cmds.sh.in
|
|
|
|
+++ b/lib/ss/mk_cmds.sh.in
|
2019-01-15 00:29:18 +00:00
|
|
|
@@ -2,10 +2,16 @@
|
2018-02-03 20:00:27 +00:00
|
|
|
#
|
|
|
|
#
|
2019-01-15 00:29:18 +00:00
|
|
|
|
2018-02-03 20:00:27 +00:00
|
|
|
-DIR=@datadir@/ss
|
|
|
|
-AWK=@AWK@
|
2019-01-15 00:29:18 +00:00
|
|
|
SED=sed
|
|
|
|
|
2018-02-03 20:00:27 +00:00
|
|
|
+if test "x$STAGING_DIR" = x ; then
|
|
|
|
+ DIR=@datadir@/ss
|
|
|
|
+ AWK=@AWK@
|
|
|
|
+else
|
2019-01-15 00:29:18 +00:00
|
|
|
+ DIR="$STAGING_DIR/../hostpkg/share/ss"
|
2018-02-03 20:00:27 +00:00
|
|
|
+ AWK=awk
|
|
|
|
+fi
|
2019-01-15 00:29:18 +00:00
|
|
|
+
|
2018-02-03 20:00:27 +00:00
|
|
|
for as_var in \
|
|
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
2019-01-15 00:29:18 +00:00
|
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|