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