diff --git a/src/makefiles/linux_32bit.mak b/src/makefiles/linux_32bit.mak index bf88a0a4..7c17ead4 100644 --- a/src/makefiles/linux_32bit.mak +++ b/src/makefiles/linux_32bit.mak @@ -1,24 +1,24 @@ # SoftEther VPN Source Code -# +# # Copyright (c) 2012-2016 SoftEther VPN Project at University of Tsukuba, Japan. # Copyright (c) 2012-2016 Daiyuu Nobori. # All Rights Reserved. -# +# # http://www.softether.org/ -# +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 as published by the Free Software Foundation. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License version 2 # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# +# # Platform: os=Linux, bits=32bit # Variables @@ -422,6 +422,7 @@ $(INSTALL_BINDIR)vpncmd: bin/vpncmd/hamcore.se2 bin/vpncmd/vpncmd @mkdir -p $(INSTALL_VPNCMD_DIR) cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2 cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd + chmod 644 $(INSTALL_VPNCMD_DIR)hamcore.se2 echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd diff --git a/src/makefiles/linux_64bit.mak b/src/makefiles/linux_64bit.mak index 0fd8c018..7fafa1f0 100644 --- a/src/makefiles/linux_64bit.mak +++ b/src/makefiles/linux_64bit.mak @@ -1,24 +1,24 @@ # SoftEther VPN Source Code -# +# # Copyright (c) 2012-2016 SoftEther VPN Project at University of Tsukuba, Japan. # Copyright (c) 2012-2016 Daiyuu Nobori. # All Rights Reserved. -# +# # http://www.softether.org/ -# +# # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 as published by the Free Software Foundation. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License version 2 # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# +# # Platform: os=Linux, bits=64bit # Variables @@ -422,6 +422,7 @@ $(INSTALL_BINDIR)vpncmd: bin/vpncmd/hamcore.se2 bin/vpncmd/vpncmd @mkdir -p $(INSTALL_VPNCMD_DIR) cp bin/vpncmd/hamcore.se2 $(INSTALL_VPNCMD_DIR)hamcore.se2 cp bin/vpncmd/vpncmd $(INSTALL_VPNCMD_DIR)vpncmd + chmod 644 $(INSTALL_VPNCMD_DIR)hamcore.se2 echo "#!/bin/sh" > $(INSTALL_BINDIR)vpncmd echo $(INSTALL_VPNCMD_DIR)vpncmd '"$$@"' >> $(INSTALL_BINDIR)vpncmd echo 'exit $$?' >> $(INSTALL_BINDIR)vpncmd