From 4c64537afe28f93d6bd522388496b471d03b5804 Mon Sep 17 00:00:00 2001 From: Dimitar Zhekov Date: Tue, 4 May 2004 09:32:13 +0000 Subject: [PATCH] Dimitar Zhekov: fixed Build-Target not to complain about liggering pkgs/packages.db [2004042908355600326] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2869 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- scripts/Build-Target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Build-Target b/scripts/Build-Target index ad80ce585..f6746a0c8 100755 --- a/scripts/Build-Target +++ b/scripts/Build-Target @@ -219,7 +219,7 @@ fi x="$file" [ $ROCKCFG_CREATE_GEM = 0 ] || x=${x%.gem} [ $ROCKCFG_CREATE_TARBZ2 = 0 ] || x=${x%.tar.bz2} - if ! grep -qx "$x" $pkglst ; then + if ! grep -qx "$x" $pkglst && ! test "$x" = packages.db ; then file="build/$ROCKCFG_ID/ROCK/pkgs/$file" echo_error "$file should not be present" \ "(now in src/invalid-files.lst)!"