From 6654d635f7c145a8c254ce440ed4213fc016e878 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 29 Jan 2010 11:18:11 +0100 Subject: [PATCH] be on the safe side, do skip createrepo only if DO_INIT is false --- build_kiwi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_kiwi.sh b/build_kiwi.sh index 4eaf556..85fc5e9 100644 --- a/build_kiwi.sh +++ b/build_kiwi.sh @@ -5,7 +5,7 @@ run_kiwi() imagename=$(perl -I$BUILD_DIR -MBuild::Kiwi -e Build::Kiwi::show $BUILD_ROOT/$TOPDIR/SOURCES/$SPECFILE filename) imageversion=$(perl -I$BUILD_DIR -MBuild::Kiwi -e Build::Kiwi::show $BUILD_ROOT/$TOPDIR/SOURCES/$SPECFILE version) # prepare rpms as source and createrepo on the repositories - if test -d $BUILD_ROOT/$TOPDIR/SOURCES/repos -a "$DO_INIT" = true ; then + if test -d $BUILD_ROOT/$TOPDIR/SOURCES/repos -a "$DO_INIT" != false ; then ( ln -sf $TOPDIR/SOURCES/repos $BUILD_ROOT/repos cd $BUILD_ROOT/$TOPDIR/SOURCES/repos -- 2.7.4