commit:     2024ac84f3201615ffdf3f49e07454e480f0657b
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 22:15:29 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 22:15:29 2016 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=2024ac84

bin/grsup: dereference sym links so you don't clobber /lib -> /lib64

 bin/grsup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/grsup b/bin/grsup
index 74670cd..319236f 100755
--- a/bin/grsup
+++ b/bin/grsup
@@ -106,7 +106,7 @@ def install_kernel(version = 'latest', logfile = 
CONST.LOGFILE):
     # Untar it at '/'.  tar will not clobber files.
     cwd = os.getcwd()
     os.chdir('/')
-    cmd = 'tar --overwrite -Jxf %s' % kpath
+    cmd = 'tar --overwrite -hJxf %s' % kpath
     Execute(cmd, timeout=600, logfile=logfile)
     os.chdir(cwd)
 

Reply via email to