Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- DIR=/raid/Ayysir/pa
- OUTDIR=/raid/Ayysir/PA_out
- ROMDIR=$DIR/out/target/product/
- export curdate=`date "+%0d%^b%Y"`
- lastver=nightly-$(date --date=yesterday +%0d%^b%Y)
- ver=nightly-$curdate
- ##########################################################
- cp $DIR/.repo/manifest.xml $OUTDIR/manifest-$ver.xml
- if [ -f $OUTDIR/Finish.log ]; then
- android-changelog -f html \
- $OUTDIR/manifest-$lastver.xml \
- $OUTDIR/manifest-$ver.xml \
- > $OUTDIR/changelog-$ver.html
- ncftpput -b /home/Ayysir/hostname /ParanoidAndroid/manifest_changelogs $OUTDIR/changelog-$ver.html
- fi
- cp $DIR/changes.log $OUTDIR/detail_changelog-$ver.xml
- if [ -f $DIR/changes.log ]; then
- android-changelog -f html \
- $OUTDIR/detail_changelog-$lastver.log \
- $OUTDIR/detail_changelog-$ver.log \
- > $OUTDIR/detail_changelog-$ver.html
- ncftpput -b /home/Ayysir/hostname /ParanoidAndroid/changelogs $OUTDIR/detail_changelog-$ver.html
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement