mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
minstall: Always remove destination file before (re-)creating it.
This avoids issues with overwriting files that are being used.
This commit is contained in:
parent
d7b24fec24
commit
d71a5647a3
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ if [ $# -ge 2 ] ; then
|
|||
|
||||
elif [ -f "$FILE" ] ; then
|
||||
#echo "$FILE" is a regular file
|
||||
$RM "$DEST/$FILE"
|
||||
cp "$FILE" "$DEST"
|
||||
if [ $MODE ] ; then
|
||||
FILE=`basename "$FILE"`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue