mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 19:39:53 +03:00
Fix: vpncmd thinks that "hamcore.se2" is missing or broken (#339)
This commit is contained in:
parent
0796249525
commit
1f33fbdff4
@ -422,6 +422,7 @@ $(INSTALL_BINDIR)vpncmd: bin/vpncmd/hamcore.se2 bin/vpncmd/vpncmd
|
|||||||
@mkdir -p $(INSTALL_VPNCMD_DIR)
|
@mkdir -p $(INSTALL_VPNCMD_DIR)
|
||||||
cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
||||||
cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd
|
cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd
|
||||||
|
chmod 644 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
||||||
echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd
|
echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd
|
||||||
echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd
|
echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd
|
||||||
echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd
|
echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd
|
||||||
|
@ -428,6 +428,7 @@ $(INSTALL_BINDIR)vpncmd: bin/vpncmd/hamcore.se2 bin/vpncmd/vpncmd
|
|||||||
@mkdir -p $(INSTALL_VPNCMD_DIR)
|
@mkdir -p $(INSTALL_VPNCMD_DIR)
|
||||||
cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
||||||
cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd
|
cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd
|
||||||
|
chmod 644 $(INSTALL_VPNCMD_DIR)hamcore.se2
|
||||||
echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd
|
echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd
|
||||||
echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd
|
echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd
|
||||||
echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd
|
echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd
|
||||||
|
Loading…
Reference in New Issue
Block a user