Commit 38c04e1d authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: add x86_64 support for replacement

parent d4d39b37
...@@ -62,24 +62,25 @@ print_replbased_list() ...@@ -62,24 +62,25 @@ print_replbased_list()
# VENDOR, TARGET is already defined in detect_target_env() func # VENDOR, TARGET is already defined in detect_target_env() func
[ -z "$DISTRVERSION" ] && DISTRVERSION=`distr_vendor -v` [ -z "$DISTRVERSION" ] && DISTRVERSION=`distr_vendor -v`
# Get list of replacement rules files # separate checking for x86_64
#[ -r "$REPLBASE$VENDOR.$DISTRVERSION" ] && [ $(uname -m) = "x86_64" ] && echo -n "$REPLBASE.x86_64.$VENDOR.$DISTRVERSION $REPLBASE.x86_64.$VENDOR "
echo -n "$REPLBASE$VENDOR.$DISTRVERSION $REPLBASE$VENDOR " [ "$VENDOR" != "alt" ] && [ $(uname -m) = "x86_64" ] && echo -n "$REPLBASE.x86_64.$TARGET"
#[ -r "$REPLBASE$VENDOR" ] &&
echo -n "$REPLBASE$VENDOR " # general rules listing
[ "$VENDOR" != "alt" ] && echo -n "$REPLBASE$TARGET" echo -n "$REPLBASE.$VENDOR.$DISTRVERSION $REPLBASE.$VENDOR "
[ "$VENDOR" != "alt" ] && echo -n "$REPLBASE.$TARGET"
} }
# TODO: list in alph. order and use if <= then our version # TODO: list in alph. order and use if <= then our version
print_pkgrepl_list() print_pkgrepl_list()
{ {
print_replbased_list $PKGREPLBASE/pkgrepl. print_replbased_list $PKGREPLBASE/pkgrepl
} }
print_grprepl_list() print_grprepl_list()
{ {
print_replbased_list $PKGREPLBASE/../grprepl/grprepl. print_replbased_list $PKGREPLBASE/../grprepl/grprepl
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment