merge Jesse Keatings' patch to find groups file properly
authorSeth Vidal <skvidal@linux.duke.edu>
Wed, 7 Feb 2007 20:34:05 +0000 (20:34 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Wed, 7 Feb 2007 20:34:05 +0000 (20:34 +0000)
genpkgmetadata.py

index 3f9c2c622857c6c41fefbdcc5adc251bef61c520..5ad443e30adb3506d34d31138d43dfe3673ed47f 100755 (executable)
@@ -481,7 +481,7 @@ def parseArgs(args):
         if cmds['split']:
             a = os.path.join(cmds['basedir'], directory, cmds['groupfile'])
         elif not os.path.isabs(a):
-            a = os.path.join(cmds['basedir'], cmds['groupfile'])
+            a = os.path.join(cmds['basedir'], directory, cmds['groupfile'])
         if not os.path.exists(a):
             errorprint(_('Error: groupfile %s cannot be found.' % a))
             usage()