diff options
-rwxr-xr-x | src/binutils-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binutils-config b/src/binutils-config index 28bb044..8b62868 100755 --- a/src/binutils-config +++ b/src/binutils-config @@ -253,7 +253,7 @@ switch_profile() { rm -f "${ee}" [[ -d ${ROOT}/${DATAPATH}/man ]] && echo "MANPATH=${DATAPATH}/man" >> "${ee}" [[ -d ${ROOT}/${DATAPATH}/info ]] && echo "INFOPATH=${DATAPATH}/info" >> "${ee}" - mv_if_diff "${ee}" "${e}" + [[ -e "${ee}" ]] && mv_if_diff "${ee}" "${e}" fi local c="${ENV_D}/config-${TARGET}" |