diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-20 16:58:00 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-20 16:58:00 +0100 |
commit | 254c45c7421caaf8987dc5af0c560f3cb24a0bec (patch) | |
tree | a6a21c41aa7ca3f2981f762c5900f4f7ff7e6fea /bin | |
parent | 55e112925fb4b395105da9dca9bb69e417f36012 (diff) | |
download | buildscripts-254c45c7421caaf8987dc5af0c560f3cb24a0bec.tar.gz buildscripts-254c45c7421caaf8987dc5af0c560f3cb24a0bec.tar.bz2 buildscripts-254c45c7421caaf8987dc5af0c560f3cb24a0bec.zip |
fix BUILDS_FOR mechanism
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/itzks-build-package | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/itzks-build-package b/bin/itzks-build-package index ba1d584..2bbb3a1 100755 --- a/bin/itzks-build-package +++ b/bin/itzks-build-package @@ -74,7 +74,7 @@ set_vars() { clear_pkgdist() { # pkgdist directory cleanup - cat BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do + cat $PROJECT_DIR/BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do l_DIST=$(echo $line | cut -d":" -f1 | tr [A-Z] [a-z]) CODENAMES=${CODENAMES:-$(echo $line | cut -d":" -f2- | tr [A-Z] [a#-z])} echo "$DIST_SUPPORTED" | grep $l_DIST >/dev/null && { @@ -136,7 +136,7 @@ EOF build_packages() { # use pbuilder for building all variants of this package - cat BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do + cat $PROJECT_DIR/BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do l_DIST=$(echo $line | cut -d":" -f1 | tr [A-Z] [a-z]) CODENAMES=${CODENAMES:-$(echo $line | cut -d":" -f2- | tr [A-Z] [a#-z])} echo "$DIST_SUPPORTED" | grep $l_DIST >/dev/null && { |