Remove no-longer used file
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 11 Jun 2009 13:05:39 +0000 (15:05 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 11 Jun 2009 13:05:39 +0000 (15:05 +0200)
id-deb-build/id-deb-build.sh [deleted file]

diff --git a/id-deb-build/id-deb-build.sh b/id-deb-build/id-deb-build.sh
deleted file mode 100755 (executable)
index edd3d51..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-HOST=$1
-if test -z "${HOST}"; then
-       echo "Usage"
-       echo " $0 host"
-       exit 1
-fi
-DEBCHANGELOG=debian/changelog
-if test ! -f $DEBCHANGELOG; then
-       echo "$DEBCHANGELOG missing"
-       exit 1
-fi
-l=`head -1 $DEBCHANGELOG`
-PROD=`echo $l|sed 's/ .*//g'`
-VERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'`
-echo "VERSION=$VERSION"
-MAJOR=`echo $VERSION|sed 's/-.*//g'`
-echo "MAJOR=$MAJOR"
-MINOR=`echo $VERSION|sed 's/.*-//g'`
-echo "MINOR=$MINOR"
-TAR=${PROD}-${MAJOR}.tar.gz
-if test ! -f ${TAR}; then
-       echo "$0: ${TAR} missing"
-       exit 1
-fi
-ORIG=${PROD}_${MAJOR}.orig.tar.gz
-echo "TAR=$TAR"
-echo "ORIG=$ORIG"
-DIR="debian/build-${PROD}-${VERSION}"
-set -e
-ssh $HOST "rm -fr ${DIR}; mkdir ${DIR}"
-scp ${TAR} ${HOST}:${DIR}/${ORIG}
-ssh ${HOST} "cd ${DIR} && tar xzf ${ORIG}"
-scp -r debian "${HOST}:${DIR}/${PROD}-${MAJOR}"
-ssh ${HOST} "cd ${DIR}/${PROD}-${MAJOR} && dpkg-buildpackage -rfakeroot"
-# Local Variables:
-# mode:shell-script
-# sh-indentation: 2
-# sh-basic-offset: 8
-# End: