File: devpatch.sh

package info (click to toggle)
adesklets 0.6.1-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,044 kB
  • ctags: 1,325
  • sloc: ansic: 5,939; sh: 3,983; python: 2,344; perl: 333; makefile: 211; yacc: 80; lex: 42
file content (23 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh
DATE=$(date -u)
FILE=adesklets-`date -u +'%m%d%y_%Hh%M' --date="$DATE"`.diff
cat <<EOF
=== Description ====================================
Original filename - $FILE
Machine           - $(whoami)@$(hostname)
Date              - $DATE
Description       - automatically generated 
                    patch for adesklets

=== Usage ==========================================
Apply with the command:
\`patch -p 1 < $FILE'
from $(basename $*) base directory. 
Do not forget to rerun \`autoreconf'
after patching.

=== Additional comment =============================
See the \`devpatch' target from Makefile.am
for details.
====================================================
EOF