Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Fixed another script error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Stewart committed Jul 8, 2011
1 parent a50d526 commit d21c143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obr-update/obr-update.sh
Expand Up @@ -162,7 +162,7 @@ log "Sync phase: JARs obtained from S3"
# Find all JARs under the current directory
# Excluding snapshots, sources, annotations, bootstrap, mojos and ((1.0.0 or 1.1.0 versioned) or (wrapping JARs))
# This means it's legal to have a 1.0.0 versioned item in wrapping and it will be discovered, but not outside wrapping
find $MIRROR_DIR/ \( -name \*.jar ! -name \*.BUILD-SNAPSHOT.jar ! -name \*-sources.jar ! -name \*annotations-\*.jar ! -name \*.mojo.addon\*.jar ! -name \*.bootstrap\*.jar \) -a \( \( ! -name \*-1.0.0\*.jar ! -name \*-1.1.0\*.jar \) -o \( -name *wrapping*.jar \) \) | sort > $WORK_DIR/all_files.txt
find $MIRROR_DIR/ \( -name \*.jar ! -name \*.BUILD\*.jar ! -name \*-sources.jar ! -name \*annotations-\*.jar ! -name \*.mojo.addon\*.jar ! -name \*.bootstrap\*.jar \) -a \( \( ! -name \*-1.0.0\*.jar ! -name \*-1.1.0\*.jar \) -o \( -name *wrapping*.jar \) \) | sort > $WORK_DIR/all_files.txt

# Work out the unique directories present in all_files.txt
cat $WORK_DIR/all_files.txt | sed 's/[a-z|A-Z|0-9|.|-]*.jar//g' | uniq > $WORK_DIR/dirnames.txt
Expand Down

0 comments on commit d21c143

Please sign in to comment.