We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6e8cdc commit 54047c8Copy full SHA for 54047c8
install-sh
@@ -102,7 +102,7 @@ dsttmp=$dstdir/#inst.$$#
102
103
# Move or copy the file name to the temp name
104
105
-$doit $instcmd $src $dsttmp
+$doit $instcmd $src $dsttmp || exit $?
106
107
# and set any options; do chmod last to preserve setuid bits
108
@@ -114,7 +114,7 @@ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
114
# Now rename the file to the real destination.
115
116
$doit $rmcmd $dst
117
-$doit $mvcmd $dsttmp $dst
+$doit $mvcmd $dsttmp $dst || exit $?
118
119
120
exit 0
0 commit comments