Skip to content

Commit

Permalink
split things in p.b.install so they work sane
Browse files Browse the repository at this point in the history
Signed-off-by: Chris “Kwpolska” Warrick <[email protected]>
  • Loading branch information
Kwpolska committed May 21, 2014
1 parent 1bea5bd commit b6dbcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgbuilder/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def install(pkgpaths, sigpaths, asdeps, uopt=''):
DS.fancy_msg2('Installing with pacman -U...')
if uopt:
DS.log.debug('$PACMAN -U {0} {1}'.format(uopt, npkgpaths))
DS.sudo([DS.paccommand, '-U', uopt] + npkgpaths)
DS.sudo([DS.paccommand, '-U'] + uopt.split(' ') + npkgpaths)
else:
DS.log.debug('$PACMAN -U {0}'.format(npkgpaths))
DS.sudo([DS.paccommand, '-U'] + npkgpaths)
Expand Down

0 comments on commit b6dbcd1

Please sign in to comment.