Source

cpython-withatomic / install-sh

The branch 'legacy-trunk' does not exist.
Diff from to

install-sh

 
 # Move or copy the file name to the temp name
 
-$doit $instcmd $src $dsttmp
+$doit $instcmd $src $dsttmp || exit $?
 
 # and set any options; do chmod last to preserve setuid bits
 
 # Now rename the file to the real destination.
 
 $doit $rmcmd $dst
-$doit $mvcmd $dsttmp $dst
+$doit $mvcmd $dsttmp $dst || exit $?
 
 
 exit 0