1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-12 21:24:18 +08:00
bacnet-stack/export.sh
2013-03-21 22:53:31 +01:00

20 lines
471 B
Bash
Executable File

#!/bin/sh
# Release helper for this project
SVN_PROJECT=trunk/bacnet-stack
SVN_BASE_URL=https://svn.code.sf.net/p/bacnet/code/
SVN_TRUNK_NAME=${SVN_BASE_URL}${SVN_PROJECT}
if [ -z "$1" ]
then
echo "Usage: `basename $0` export-directory"
echo "Exports HEAD of ${SVN_PROJECT} in Windows CRLF format"
exit 1
fi
echo "Getting another clean version out of subversion for Windows zip"
svn export --native-eol CRLF ${SVN_TRUNK_NAME} ${1}
echo "done."
echo "Complete!"