checkin no longer creates binary directories if no binaries

are actually checked in.

original commit: cda5b7916b07acb2016f62b94a551ee41b2850e9
This commit is contained in:
dyb 2019-02-12 16:16:22 -08:00
parent da6d02bf4b
commit 98dc3d137d

View File

@ -231,13 +231,6 @@ if ($#oldsfiles != 0) then
echo ""
endif
foreach x ($bdirs)
set x = ./$x
if (!(-d $x)) then
mkdir -p $x || goto error
endif
end
set oldbfiles = ()
foreach x ($bfiles)
if (-e $x) set oldbfiles = ($oldbfiles $x)
@ -291,6 +284,7 @@ if ($#bfiles != 0) then
@ n = $i + 4
endif
echo -n "$x "
if (!(-e $x:h)) mkdir -p $x:h || goto error
mv $W/$x $x || goto error
end
echo ""