From 6750c1f90dcb0e394af149c16a55e951b379e05b Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Fri, 20 Sep 2013 16:52:49 +0200 Subject: [PATCH] buildpkg.functions: change how pkgdirdesig and topinstalldir is defined Instead of defining pkgdirdesig using topinstalldir do it the other way around. --- buildpkg.functions | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildpkg.functions b/buildpkg.functions index 0b872fd..c56059a 100644 --- a/buildpkg.functions +++ b/buildpkg.functions @@ -67,7 +67,8 @@ topsrcdir=$topdir-$version # it may be necessary to override this srcfiles=$buildpkgbase/srcfiles -topinstalldir=/usr/tgcware +pkgdirdesig=tgcware # topinstalldir suffix +topinstalldir=/usr/$pkgdirdesig prefix=$topinstalldir metainstalldir=$topinstalldir @@ -100,8 +101,6 @@ pkgprefix=SB pkgname=$pkgprefix$topdir # overriding this will be common name=$topdir # as will this ditto -pkgdirdesig=${topinstalldir##/*/} # topinstalldir suffix - # Functionality controls symlinkman=0 # Don't replace .so linking with symlinks pr. default symlinkman_verbose=0 # Be quiet