]> git.pld-linux.org Git - packages/adapter.git/commitdiff
- Replaced hardcoded location of "groups" file ("~/rpm") with rpm macro
authormkochano <mkochano@pld-linux.org>
Fri, 28 Apr 2000 19:21:43 +0000 (19:21 +0000)
committermkochano <mkochano@pld-linux.org>
Fri, 28 Apr 2000 19:21:43 +0000 (19:21 +0000)
  "%_topdir".

Changed files:
    adapter.awk -> 1.42

adapter.awk

index 0518cb686d44488ffb633b3c24757c34fa48c6ca..c8e89a0ac292a156ae981f2b3082481537ae36f2 100644 (file)
@@ -17,7 +17,9 @@ BEGIN {
        bod = 0                 # Beggining of %description
        tw = 75                 # Descriptions width
 
-       groups_file = ENVIRON["HOME"] "/rpm/groups"     # File with rpm groups
+       # File with rpm groups
+       "rpm --eval %_topdir" | getline groups_file
+       groups_file = groups_file "/groups"
 
        # Temporary file for changelog section
        changelog_file = ENVIRON["HOME"] "/tmp/adapter.changelog"
This page took 0.555292 seconds and 4 git commands to generate.