* gzexe.in: When ln -f fails to create a "~"-style backup,
fall back to using mv -f.
Reported by Bruno Haible in http://debbugs.gnu.org/29266
printf >&2 '%s\n' "$0: $tmp: cannot chmod"
continue
}
printf >&2 '%s\n' "$0: $tmp: cannot chmod"
continue
}
- ln -f "$file" "$file~" || {
+ ln -f "$file" "$file~" 2>/dev/null || mv -f "$file" "$file~" || {
res=$?
printf >&2 '%s\n' "$0: cannot backup $i as $i~"
continue
res=$?
printf >&2 '%s\n' "$0: cannot backup $i as $i~"
continue