o fixing bad sed job

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413212 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2006-06-10 02:32:23 +00:00
parent 96b78f7270
commit 3c01663d98
4 changed files with 8 additions and 8 deletions

View File

@ -2,8 +2,8 @@
GROUPID=$1 GROUPID=$1
basesrc=$HOME/maven/repository-staging/pom-svn-repository basesrc=$HOME/repository-staging/pom-svn-repository
basedest=$HOME/maven/repository-staging/to-ibiblio/maven2 basedest=$HOME/repository-staging/to-ibiblio/maven2
if [ ! -z $GROUPID ] if [ ! -z $GROUPID ]

View File

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
if [ "`hostname`" == "beaver.codehaus.org" ]; then if [ "`hostname`" == "beaver.codehaus.org" ]; then
cp ibiblio-htaccess $HOME/maven/repository-staging/to-ibiblio/maven/.htaccess cp ibiblio-htaccess $HOME/repository-staging/to-ibiblio/maven/.htaccess
else else
scp ibiblio-htaccess maven@beaver.codehaus.org:$HOME/maven/repository-staging/to-ibiblio/maven/.htaccess scp ibiblio-htaccess maven@beaver.codehaus.org:$HOME/repository-staging/to-ibiblio/maven/.htaccess
fi fi
scp ibiblio-htaccess maven@login.ibiblio.org:/public/html/maven/.htaccess scp ibiblio-htaccess maven@login.ibiblio.org:/public/html/maven/.htaccess

View File

@ -3,7 +3,7 @@
set -x set -x
svnlook=/usr/local/subversion/bin/svnlook svnlook=/usr/local/subversion/bin/svnlook
repos=$HOME/maven/repository-staging/to-ibiblio/maven2 repos=$HOME/repository-staging/to-ibiblio/maven2
# TODO: handle deletions # TODO: handle deletions
$svnlook changed -r $2 $1 | egrep '\.pom$' | while read t1 t2 $svnlook changed -r $2 $1 | egrep '\.pom$' | while read t1 t2

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
src=$HOME/maven/repository-staging/pom-svn-repository src=$HOME/repository-staging/pom-svn-repository
dest=$HOME/maven/repository-staging/to-ibiblio/maven2 dest=$HOME/repository-staging/to-ibiblio/maven2
/usr/local/subversion/bin/svn update $src svn update $src
./copy-updated-poms.sh ./copy-updated-poms.sh