diff options
author | Allen Wild <allenwild93@gmail.com> | 2016-05-29 14:49:49 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-01 12:46:51 +0100 |
commit | 85b6a53386382c0d92b5bea545c2db5e0204e629 (patch) | |
tree | 2ed7e434d31fd8885ea897fbc2b8f974cf9cdb06 /scripts/lnr | |
parent | 80fecc44761fa38ccf2e4dc6897b9f1f0c9c1ed0 (diff) | |
download | openembedded-core-85b6a53386382c0d92b5bea545c2db5e0204e629.tar.gz openembedded-core-85b6a53386382c0d92b5bea545c2db5e0204e629.tar.bz2 openembedded-core-85b6a53386382c0d92b5bea545c2db5e0204e629.zip |
scripts/lnr: update for python3
Change shebang line to python3 and add parentheses to print
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lnr')
-rwxr-xr-x | scripts/lnr | 4 |
1 files changed, 2 insertions, 2 deletions
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] |