Changeset 063360 in git


Ignore:
Timestamp:
Jul 24, 2020, 10:41:00 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
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.