From d70a3d770e1bcb863178f292938d465b633320e8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 11 Jun 2009 15:05:39 +0200 Subject: [PATCH] Remove no-longer used file --- id-deb-build/id-deb-build.sh | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 id-deb-build/id-deb-build.sh diff --git a/id-deb-build/id-deb-build.sh b/id-deb-build/id-deb-build.sh deleted file mode 100755 index edd3d51..0000000 --- a/id-deb-build/id-deb-build.sh +++ /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: -- 1.7.10.4