Annotation of /trunk/pkgtools/svn-move-extras-deprecated.sh
Parent Directory | Revision Log
Revision 1331 -
(hide annotations)
(download)
(as text)
Tue May 31 17:44:01 2011 UTC (13 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 390 byte(s)
Tue May 31 17:44:01 2011 UTC (13 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 390 byte(s)
-sync with current
1 | niro | 821 | #!/bin/bash |
2 | |||
3 | die() { echo "Error: $@"; exit 1; } | ||
4 | |||
5 | niro | 1331 | [[ ! -d ./extras ]] && die "Fatal error: directory 'extras' does not exist!" |
6 | niro | 821 | [[ ! -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 |