From: Allen Wild Date: Sun, 29 May 2016 18:49:49 +0000 (-0400) Subject: scripts/lnr: update for python3 X-Git-Tag: uninative-1.3~876 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=85b6a53386382c0d92b5bea545c2db5e0204e629;p=openembedded-core.git scripts/lnr: update for python3 Change shebang line to python3 and add parentheses to print Signed-off-by: Allen Wild Signed-off-by: Richard Purdie --- diff --git a/scripts/lnr b/scripts/lnr index 9dacebe095..5fed780eb2 100755 --- a/scripts/lnr +++ b/scripts/lnr @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Create a *relative* symlink, just like ln --relative does but without needing # coreutils 8.16. @@ -6,7 +6,7 @@ import sys, os if len(sys.argv) != 3: - print "$ lnr TARGET LINK_NAME" + print("$ lnr TARGET LINK_NAME") sys.exit(1) target = sys.argv[1]