... | ... |
@@ -16,9 +16,9 @@ MYMETA.json |
16 | 16 |
MYMETA.yml |
17 | 17 |
log/* |
18 | 18 |
!log/.gitignore |
19 |
+script/gitprep-shell |
|
19 | 20 |
script/hypnotoad.pid |
20 | 21 |
!public/.gitignore |
21 |
-script/hypnotoad.pid |
|
22 | 22 |
extlib/* |
23 | 23 |
gitprep.my.conf |
24 | 24 |
data/* |
... | ... |
@@ -102,7 +102,7 @@ gitprep-shell - AuthorizedKeysCommand for sshd |
102 | 102 |
|
103 | 103 |
=head1 USAGE |
104 | 104 |
|
105 |
- ./gitprep-shell kimoto |
|
105 |
+ ./gitprep-shell-raw kimoto |
|
106 | 106 |
|
107 | 107 |
This command return user public_key |
108 | 108 |
|
... | ... |
@@ -4,3 +4,10 @@ export PERL_CPANM_HOME=$CUR_DIR_ABS/setup |
4 | 4 |
perl cpanm -n -l extlib Module::CoreList |
5 | 5 |
perl -Iextlib/lib/perl5 cpanm -f -L extlib ExtUtils::MakeMaker |
6 | 6 |
perl -Iextlib/lib/perl5 cpanm -L extlib --installdeps . |
7 |
+ |
|
8 |
+# Create gitprep-shell script |
|
9 |
+CURRENT_PERL=`which perl` |
|
10 |
+echo '#!/bin/sh' > script/gitprep-shell |
|
11 |
+echo -n "$CURRENT_PERL $CUR_DIR_ABS/script/gitprep-shell-raw" >> script/gitprep-shell |
|
12 |
+echo ' $*' >> script/gitprep-shell |
|
13 |
+chmod 755 script/gitprep-shell |