From d855403546861af6688c5c4185b6032249b800d9 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 13 Dec 2016 19:46:31 +0100 Subject: [PATCH] likwid: remote root from INSTALL_CHOWN (#2564) --- var/spack/repos/builtin/packages/likwid/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py index 8d2290d8ad..8d1687a11a 100644 --- a/var/spack/repos/builtin/packages/likwid/package.py +++ b/var/spack/repos/builtin/packages/likwid/package.py @@ -61,9 +61,9 @@ def install(self, spec, prefix): prefix, 'config.mk') - # TODO: - # set INSTALL_CHOWN in config.mk to your user/group. - # Defaults are root. + filter_file('^INSTALL_CHOWN.*', + 'INSTALL_CHOWN = -o $(USER)', + 'config.mk') make() make('install')