Changeset 063360 in git for make_tar.sh


Ignore:
Timestamp:
Jul 24, 2020, 10:41:00 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
2617fca625d047a0b9890e6ffae1c5f8fe755aad
Parents:
621d20fcc3dc769e5683f90e0b9efd198986ac1c
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-07-24 22:41:00+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-07-24 22:41:50+02:00
Message:
add sanity check to make_tar.sh
File:
1 edited

Legend:

Unmodified
Added
Removed
  • make_tar.sh

    r621d20 r063360  
    11#!/usr/bin/env bash
    22# Hannes helper to build tar files for the ftp server
     3# for the patch-versions (version between official releases x.x.x)
     4# for official versions: use "make dist"/"make distcheck"
    35
    46set -e
     
    911BUILD_DIR=/tmp2/wawa
    1012export VERSION TARVERSION INSTALL_DIR BUILD_DIR
     13
     14# sanity check
     15if test -e $BUILD_DIR/singularconfig.h
     16then
    1117
    1218git archive --prefix=singular-$VERSION/ HEAD |tar xf -
     
    4147gzip -9 -f singular-$TARVERSION.tar
    4248command rm -rf singular-$VERSION
     49
     50else
     51  echo BUILD_DIR is not set correctly, use
     52  echo make dist
     53  echo in a configured directory
     54  exit 1
     55fi
Note: See TracChangeset for help on using the changeset viewer.