From e9e19b7cc62c54795695589aa975fa31f1e65ed9 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Wed, 11 Apr 2007 22:16:56 +0100 Subject: autotool scripts/updatesync - move scripts/updatesync -> scripts/updatesync.in - add -V --version options to scripts/updatesync.in - add autotool commands to generate scripts/updatesync Signed-off-by: Andrew Fyfe --- scripts/updatesync.in | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100755 scripts/updatesync.in (limited to 'scripts/updatesync.in') diff --git a/scripts/updatesync.in b/scripts/updatesync.in new file mode 100755 index 00000000..eb82bdec --- /dev/null +++ b/scripts/updatesync.in @@ -0,0 +1,156 @@ +#!/bin/bash +# +# updatesync +# +# Copyright (c) 2004 by Jason Chu +# Derived from gensync (c) 2002-2006 Judd Vinet +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. +# + +myver='@PACKAGE_VERSION@' + +# functions + +usage() { + echo "updatesync $myver" + echo "usage: $0