Lines 240-246
Link Here
|
240 |
fi |
240 |
fi |
241 |
|
241 |
|
242 |
if test -n "$dir_arg"; then |
242 |
if test -n "$dir_arg"; then |
243 |
$doit $instcmd "$dst" \ |
243 |
{ $doit $instcmd "$dst" || lasterr=$? |
|
|
244 |
# It's ok for mkdir to fail if the directory already exists. |
245 |
test -d "$dst" || { (exit ${lasterr-1}); exit; } |
246 |
} \ |
244 |
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ |
247 |
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ |
245 |
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ |
248 |
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ |
246 |
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ |
249 |
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ |