From 7499f55badba7cab6114cc78f1460bebaf8cc259 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 24 May 2013 09:20:40 +0200 Subject: [PATCH] No longer in use --- buildscript_centos5.sh | 26 -------------------------- buildscript_debian.sh | 43 ------------------------------------------- 2 files changed, 69 deletions(-) delete mode 100755 buildscript_centos5.sh delete mode 100755 buildscript_debian.sh diff --git a/buildscript_centos5.sh b/buildscript_centos5.sh deleted file mode 100755 index 2323bbe..0000000 --- a/buildscript_centos5.sh +++ /dev/null @@ -1,26 +0,0 @@ -PROJECT=$1 -VERSION=$2 -TYPE=tar.gz - -if [ "$VERSION" == "" ] ; then - echo buildscript project version - exit 1 -fi -# if (You need to have a rpmbuild directory - Adam has a script in git-tools ) -# (You need to have .rpmmacros - edit it to point to your rpmbuild) -if cd ~/rpmbuild/SOURCES ; then - if tar xzf $PROJECT-$VERSION.$TYPE ; then - cd $PROJECT-$VERSION - if rpmbuild -ba $PROJECT.spec ; then - echo success. Do upload, and update repo - else - echo failed to rpmbuild $PROJECT - fi - - else - echo failed tar xzf $PROJECT-$VERSION.tgz - fi -else - echo "Unable to CD" - exit 1; -fi diff --git a/buildscript_debian.sh b/buildscript_debian.sh deleted file mode 100755 index 11dbd51..0000000 --- a/buildscript_debian.sh +++ /dev/null @@ -1,43 +0,0 @@ -PROJECT=$1 -TYPE=tar.gz -RPMBUILD_HOST=centos5 - -if ../git-tools/id-deb-build/check-versions.sh ; then - echo "Version $VERSION OK" - . IDMETA -else - echo "Mismatch in IDMETA and debian/changelog" -fi - -if [ "$PROJECT" == "" ] ; then - echo buildscript project [TYPE] - exit 1 -fi - -if [ "$2" != "" ] ; then - TYPE=$2 -fi - -if ./buildconf.sh -d ; then - if make dist ; then - if scp ${PROJECT}-${VERSION}.${TYPE} ${RPMBUILD_HOST}:rpmbuild/SOURCES ; then - echo uploaded to ${RPMBUILD_HOST}. Run buildscript_rpm.sh $PROJECT $VERSION $TYPE from here - sleep 5 - else - echo failed to upload to ${RPMBUILD_HOST} - exit 1 - fi - # Now debian (p)build - if ~/proj/git-tools/id-deb-build/id-pbuild.sh ; then - echo Upload and update repo - else - echo "Failed to build $PROJECT $VERSION" - exit - fi - else - echo failed to make dist - fi -else - echo "buildconf -d failed" - exit 1; -fi -- 1.7.10.4