Annotation of /trunk/pkgtools/svn-move-extras-deprecated.sh
Parent Directory | Revision Log
Revision 821 -
(hide annotations)
(download)
(as text)
Fri Apr 24 19:17:49 2009 UTC (15 years, 6 months ago) by niro
File MIME type: application/x-sh
File size: 388 byte(s)
Fri Apr 24 19:17:49 2009 UTC (15 years, 6 months ago) by niro
File MIME type: application/x-sh
File size: 388 byte(s)
-added svn related tools
1 | niro | 821 | #!/bin/bash |
2 | |||
3 | die() { echo "Error: $@"; exit 1; } | ||
4 | |||
5 | [[ ! -d ./extras ]] && die "Fatal error: directory 'core' does not exist!" | ||
6 | [[ ! -d ./deprecated ]] && die "Fatal error: directory 'deprecated' does not exist!" | ||
7 | |||
8 | PNAME="$1" | ||
9 | [[ -z ${PNAME} ]] && die "Give me \$PNAME" | ||
10 | |||
11 | svn move extras/${PNAME} deprecated/${PNAME} | ||
12 | svn commit -m "-moved to 'deprecated'" extras/${PNAME} deprecated/${PNAME} | ||
13 | |||
14 |
Properties
Name | Value |
---|---|
svn:keywords | Id |