summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/binutils-config')
-rwxr-xr-xsrc/binutils-config2
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}"