~ubuntu-branches/debian/jessie/smstools/jessie

« back to all changes in this revision

Viewing changes to package.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jan Wagner
  • Date: 2010-06-21 10:19:52 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100621101952-pz5h5zctan8vumbi
Tags: 3.1.10-0.1
* Non-maintainer upload, as requested by maintainer
* New Upstream version (Closes: #586643)
* Bump Standards to 3.8.4, no changes needed
* Define source format 1.0 in debian/source/format
* Add $remote_fs as dependency for Required-Start and Required-Stop in the
  init script, removed $local_fs, which is implicit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# This script is used by the author to make a tar.gz package and update
3
 
# the local homepage. 
 
2
# This script is used by the author to make a tar.gz package
4
3
 
5
4
VERSION=`cat src/version.h | tr -d '"' | awk '/smsd_version/ {print $3}'`
6
5
PACKAGE=smstools3-$VERSION.tar.gz
7
 
DESTINATION="/cygdrive/c/Eigene Dateien/stefan/www.meinemullemaus.de/software/smstools/"
8
6
 
9
 
chmod -R a+rX *
10
 
#cp -R doc/* "$DESTINATION"
11
7
cd ..
12
8
tar -chzf $PACKAGE --exclude='*~' --exclude='*.bak' --exclude='*.pdf' --exclude='*.tar.gz' smstools3
13
 
#mv $PACKAGE "$DESTINATION/packages"
14
 
#echo "Doc copied and package $PACKAGE created"
15
9
echo "Package $PACKAGE created"