fix default repository
authorLudwig Nussel <ludwig.nussel@suse.de>
Fri, 15 Feb 2008 15:54:30 +0000 (15:54 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Fri, 15 Feb 2008 15:54:30 +0000 (15:54 +0000)
build

diff --git a/build b/build
index c47b4f2..d00872d 100755 (executable)
--- a/build
+++ b/build
@@ -514,7 +514,7 @@ test -z "$LIST_STATE" -a "$UID" != 0 && {
 }
 
 repos=("${repos[@]}" ${BUILD_RPMS//:/ /})
-: ${repos:=("/media/dvd/suse")}
+: ${repos:=("--repository" "/media/dvd/suse")}
 
 if test -n "$KILL" ; then
     test -z "$SRCDIR" || usage