Try harder to remove $MC_BUILD_DIR - use chmod.

This commit is contained in:
Pavel Roskin 2002-12-25 00:58:34 +00:00
parent 8dcd811ec9
commit 5365b83ae1

View File

@ -36,6 +36,7 @@ DIR="/public/ftp/pub/Linux/utils/file/managers/mc/snapshots"
cd "$MC_CVS_DIR"
cvs up -dPA
test -d "$MC_BUILD_DIR" && chmod -R u+rwx "$MC_BUILD_DIR"
rm -rf "$MC_BUILD_DIR"
cp -a "$MC_CVS_DIR" "$MC_BUILD_DIR"
cd "$MC_BUILD_DIR"