summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 16:56:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 16:56:30 +0100
commite6e6baf406e705c81f806b86e1352bf070cce6ad (patch)
tree3eeb4dc852269330a97dda5adad85f94786f6a29
parent75d856f630b7727fde9ea229ee57fc9c2c8f92dc (diff)
downloadbuildscripts-e6e6baf406e705c81f806b86e1352bf070cce6ad.tar.gz
buildscripts-e6e6baf406e705c81f806b86e1352bf070cce6ad.tar.bz2
buildscripts-e6e6baf406e705c81f806b86e1352bf070cce6ad.zip
more fixes
-rwxr-xr-xbin/nwt-build-package4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nwt-build-package b/bin/nwt-build-package
index 338a0b2..ccd6dbd 100755
--- a/bin/nwt-build-package
+++ b/bin/nwt-build-package
@@ -30,7 +30,7 @@ set_vars() {
USE_SUDO="yes"
PDEBUILD="pdebuild --pbuilder qemubuilder"
TEMP_BASE="$HOME/tmp/"
- mkdir "$TEMP_BASE"
+ mkdir -p "$TEMP_BASE"
chmod 2770 "$TEMP_BASE"
# first argv is the name of the Git project
@@ -75,7 +75,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 && {