* lrde-upload.sh: Retrieve the package version from configure.ac.
This commit is contained in:
parent
0ca40d72d7
commit
253e38ae7d
2 changed files with 8 additions and 1 deletions
|
|
@ -14,10 +14,13 @@ case $rev in
|
|||
*) rev="-$rev";;
|
||||
esac
|
||||
|
||||
# Retrieve the package version
|
||||
VERSION=`autoconf --trace='AC_INIT:$2'`
|
||||
|
||||
rm -rf /lrde/dload/spot/spot-snapshot$rev.tmp
|
||||
cp -pR doc/spot.html /lrde/dload/spot/spot-snapshot$rev.tmp
|
||||
chmod -R a+rX /lrde/dload/spot/spot-snapshot$rev.tmp
|
||||
mv -f spot-*.tar.gz /lrde/dload/spot/spot-snapshot$rev.tar.gz
|
||||
mv -f spot-$VERSION.tar.gz /lrde/dload/spot/spot-snapshot$rev.tar.gz
|
||||
chmod a+rX /lrde/dload/spot/spot-snapshot$rev.tar.gz
|
||||
rm -rf /lrde/dload/spot/spot-snapshot$rev.html
|
||||
mv -f /lrde/dload/spot/spot-snapshot$rev.tmp /lrde/dload/spot/spot-snapshot$rev.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue