1. Armin Rigo
  2. cpython-withatomic


cpython-withatomic / install-sh

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

File install-sh

  • Ignore whitespace
 # 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