- fix test for existens kiwi qa script
authorAdrian Schröter <adrian@suse.de>
Mon, 25 Jun 2012 16:39:36 +0000 (18:39 +0200)
committerAdrian Schröter <adrian@suse.de>
Mon, 25 Jun 2012 16:39:56 +0000 (18:39 +0200)
build_kiwi.sh

index 0e1380d..dc97b73 100644 (file)
@@ -268,7 +268,7 @@ EOF
        done
     fi
     # Hook for running post kiwi build scripts like QA scripts if installed
-    if [ -x /usr/lib/build/kiwi_post_run ]; then
+    if [ -x $BUILD_ROOT/usr/lib/build/kiwi_post_run ]; then
         chroot $BUILD_ROOT su -c /usr/lib/build/kiwi_post_run || cleanup_and_exit 1
     fi
 }