Skip to content

Commit de6cb33

Browse files
committed
Fix copying manuals
1 parent 4d6ac8f commit de6cb33

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

propagation/3.21/updateReposPkgs-bioc.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,10 @@ echo ""
6767
MANUALS_DEST="$REPOS_ROOT/manuals"
6868
MANUALS_SRC="$BBS_OUTGOING_DIR/manuals"
6969
echo "Updating $BIOC_VERSION/bioc repo with reference manuals..."
70-
for i in `ls $MANUALS_SRC/*.pdf`; do
71-
pkg=`echo $i| awk '{split($0,a,".pdf"); print(a[1])}'`
70+
for i in `ls $MANUALS_SRC`; do
71+
pkg=`echo $i| awk '{split($0,a,".(html|pdf)"); print(a[1])}'`
7272
mkdir -p $MANUALS_DEST/$pkg/man
73-
cp --update --verbose $MANUALS_SRC/$i.pdf $MANUALS_DEST/$pkg/man
74-
if [ -f $i.html ]; then
75-
cp --update --verbose $MANUALS_SRC/$i.html $MANUALS_DEST/$pkg/man
76-
fi
73+
cp --update --verbose $MANUALS_SRC/$i $MANUALS_DEST/$pkg/man
7774
done
7875

7976
echo "DONE."

0 commit comments

Comments
 (0)