scripts/build/internals.sh
changeset 2004 5d6d3c28a658
parent 1970 cdd761ad2d1a
child 2034 c3967b2c49b4
     1.1 --- a/scripts/build/internals.sh	Sat May 22 22:01:18 2010 +0200
     1.2 +++ b/scripts/build/internals.sh	Wed Jul 07 22:33:49 2010 +0200
     1.3 @@ -31,7 +31,11 @@
     1.4          fi
     1.5          if [ -n "${CT_TARGET_ALIAS_SED_EXPR}" ]; then
     1.6              _t=$(echo "$t" |sed -r -e "${CT_TARGET_ALIAS_SED_EXPR}")
     1.7 -            CT_DoExecLog ALL ln -sv "${t}" "${_t}"
     1.8 +            if [ "${_t}" = "${t}" ]; then
     1.9 +                CT_DoLog WARN "The sed expression '${CT_TARGET_ALIAS_SED_EXPR}' has no effect on '${t}'"
    1.10 +            else
    1.11 +                CT_DoExecLog ALL ln -sv "${t}" "${_t}"
    1.12 +            fi
    1.13          fi
    1.14      done
    1.15      CT_Popd