source: trunk/dassbuild/buildscript@ 738

Last change on this file since 738 was 734, checked in by joergs, on Jan 26, 2009 at 4:39:46 PM

cleanup

  • Property svn:executable set to *
File size: 601 bytes
Line 
1#!/bin/sh
2
3BUILD_CMD=build
4
5if [ $# -eq 1 ]; then
6 # Datei mit den Variablen fuer den build-Prozess einlesen
7 if [ -r $1 ]; then
8 . $1
9 [ -n "$BUILD_ROOT" ] && export BUILD_ROOT
10 [ -n "$BUILD_DIST" ] && export BUILD_DIST
11 [ -n "$BUILD_RPMS" ] && export BUILD_RPMS
12 [ -n "$BUILD_PLACE" ] && [ -d $BUILD_PLACE ] && cd $BUILD_PLACE
13 if [ -n "$EXTRA_RPMS" ]; then
14 $BUILD_CMD $BUILD_MODE -X "$EXTRA_RPMS"
15 else
16 $BUILD_CMD $BUILD_MODE
17 fi
18 else
19 echo "File $1 not readable"
20 exit 3
21 fi
22else
23 echo "usage: `basename $0` <file for build-definitions>"
24 exit 2
25fi
26
27# vim: sw=4 ts=4 noautoindent
Note: See TracBrowser for help on using the repository browser.