mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Automatically update and copy CVS directory.
This commit is contained in:
parent
ec8375764b
commit
911b00f904
@ -26,12 +26,20 @@ BASE_VERSION="4.6.0-pre1"
|
||||
|
||||
# Local directories
|
||||
MC_BASE_DIR="/usr/src/mc-$BASE_VERSION"
|
||||
MC_CVS_DIR="/usr/src/mc"
|
||||
MC_BUILD_DIR="/usr/src/mc.snap"
|
||||
RPM_SRC_DIR="/usr/src/redhat"
|
||||
|
||||
# Location of the snapshot directory
|
||||
SITE="login.ibiblio.org"
|
||||
DIR="/public/ftp/pub/Linux/utils/file/managers/mc/snapshots"
|
||||
|
||||
cd "$MC_CVS_DIR"
|
||||
cvs up -dPA
|
||||
rm -rf "$MC_BUILD_DIR"
|
||||
cp -a "$MC_CVS_DIR" "$MC_BUILD_DIR"
|
||||
cd "$MC_BUILD_DIR"
|
||||
|
||||
# Sanity check
|
||||
if ! test -f ./autogen.sh || ! test -f src/screen.c; then
|
||||
echo "Not in the MC CVS working directory"
|
||||
|
Loading…
Reference in New Issue
Block a user