1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-08-13 16:53:48 -04:00
xeps/archive.sh
Peter Saint-Andre dd87357c71 link fixes
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@349 4b5297f7-1745-476d-ba37-a9c6900126ab
2007-01-15 22:51:34 +00:00

13 lines
279 B
Bash
Executable File

#!/bin/sh
# archive an old version of a XEP (before publishing new version)
# usage: ./archive.sh xepnum version
# STAGE
#xeppath=/var/www/stage.xmpp.org/extensions
# PRODUCTION
xeppath=/var/www/xmpp.org/extensions
cp $xeppath/xep-$1.html $xeppath/attic/xep-$1-$2.html
# end