#!/bin/sh

echo This script is very temporary. Please validate all input files in the apache repository before blindly copying them in.
echo Ensure all artifacts have a valid POM, and are signed used PGP.
echo This will be removed when the repository manager is in place.

OPTS=-n
if [ "$1" == "go" ]; then
  echo Doing sync for real
  OPTS=
else
  echo Not syncing
fi

cd $HOME/repository-staging/to-ibiblio/maven2
CMD="rsync --exclude="README.txt" -e ssh $OPTS -avz $FROM $TO"
echo Syncing $FROM -> $TO
$CMD

#!/bin/sh

echo This script is very temporary. Please validate all input files in the source repository before blindly copying them in.
echo Ensure all artifacts have a valid POM, and are signed used PGP.
echo This will be removed when the repository manager is in place.

OPTS=-n
if [ "$1" == "go" ]; then
  echo Doing sync for real
  OPTS=
else
  echo Not syncing
fi

cd $HOME/repository-staging/to-ibiblio/maven2
CMD="rsync --exclude="README.txt" -e ssh $OPTS -avz $FROM $TO"
echo "Syncing $FROM -> $TO"
source $CMD

Fix the environment and quotes
Fix the environment and quotes

git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@376900 13f79535-47bb-0310-9956-ffa450edef68
