aboutsummaryrefslogtreecommitdiffstats
path: root/gitjoe-newuser.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:46:36 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:46:36 +0200
commit3d166772f80be08b8d1aeb7cd48078fbee9b7e84 (patch)
tree0268336760c55620d49d97661e3a35f3249e90e5 /gitjoe-newuser.pl
parentNew script for new repo (diff)
downloadjoe-scripts-3d166772f80be08b8d1aeb7cd48078fbee9b7e84.tar.gz
joe-scripts-3d166772f80be08b8d1aeb7cd48078fbee9b7e84.tar.bz2
joe-scripts-3d166772f80be08b8d1aeb7cd48078fbee9b7e84.tar.xz
joe-scripts-3d166772f80be08b8d1aeb7cd48078fbee9b7e84.tar.zst
joe-scripts-3d166772f80be08b8d1aeb7cd48078fbee9b7e84.zip
Trying the newrepo script
Diffstat (limited to 'gitjoe-newuser.pl')
-rwxr-xr-xgitjoe-newuser.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl
index dfc7ad7..bd3c8ca 100755
--- a/gitjoe-newuser.pl
+++ b/gitjoe-newuser.pl
@@ -56,7 +56,7 @@ EOF"
'/bin/chmod -v 700 ' . $home_dir . '.ssh/'
);
open(my $fh, '>:encoding(UTF-8)', $home_dir . '.ssh/authorized_keys');
- print $fh "$sshkey\n";
+ print $fh $sshkey . "\n";
close($fh);
system(
'/usr/local/bin/dash',