diff options
Diffstat (limited to 'source/n/rsync/rsync.SlackBuild')
-rwxr-xr-x | source/n/rsync/rsync.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/n/rsync/rsync.SlackBuild b/source/n/rsync/rsync.SlackBuild index dadf3cd5..5c48629a 100755 --- a/source/n/rsync/rsync.SlackBuild +++ b/source/n/rsync/rsync.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=${VERSION:-$(echo rsync-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +PKGNAM=rsync +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -81,7 +82,7 @@ cat rsyncd.conf.5 | gzip -9c > $PKG/usr/man/man5/rsyncd.conf.5.gz mkdir -p $PKG/usr/doc/rsync-$VERSION/popt cp -a \ - COPYING* INSTALL NEWS README TODO tech_report.tex \ + COPYING* INSTALL NEWS README* TODO tech_report.tex \ $PKG/usr/doc/rsync-$VERSION ( cd popt cp -a CHANGES COPYING README README.rsync $PKG/usr/doc/rsync-$VERSION/popt |