]> mj.ucw.cz Git - pciutils.git/blobdiff - update-pciids.sh
Makefile: Unify building of shared libpci library
[pciutils.git] / update-pciids.sh
index 42faeea13a5af27193669b58dbc8e30ba3fe9c43..3ea46904033356a29a865601f75bd98c44653565 100755 (executable)
@@ -60,7 +60,7 @@ if ! $GREP >/dev/null "^C " $DEST.neww ; then
 fi
 
 if [ -f $DEST ] ; then
-       mv $DEST $DEST.old
+       ln -f $DEST $DEST.old
        # --reference is supported only by chmod from GNU file, so let's ignore any errors
        chmod -f --reference=$DEST.old $DEST.neww 2>/dev/null || true
 fi