Browse Source

Alejandro Mery:

tiny cleanup to Build-Pkg


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2340 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 21 years ago
parent
commit
5e0e68e799
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      scripts/Build-Pkg

+ 3
- 3
scripts/Build-Pkg

@ -262,15 +262,15 @@ fi
confdir="" ; archdir=""
if [ -z "$pkgdir" ] ; then
for x in package/* ; do
x=${x#package/}
if [ -f "package/$x/$pkg/$pkg.desc" ] ; then
for x in package/*/$pkg/$pkg.desc ; do
if [ -f "$x" ] ; then
if [ "$confdir" ] ; then
echo_pkg_deny $stagelevel $pkg "in multiple trees"
echo "Package in multiple trees: $pkg !" \
> $root/var/adm/logs/$stagelevel-$xpkg.err
exit 1
fi
x=${x#package/}; x=${x%%/*}
confdir="$base/package/$x/$pkg"
archdir="$base/download/$x/$pkg"
repository=$x

|||||||
100:0
Loading…
Cancel
Save