summaryrefslogtreecommitdiff
path: root/sysinfogen.sh
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-04 17:42:54 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:48 +0100
commit421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10 (patch)
treea803066bc7019085bea4eaca019b8741435714ce /sysinfogen.sh
parent86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb (diff)
downloadhercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.gz
hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.bz2
hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.xz
hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.zip
Added GPL-compliant header to all sources and build scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'sysinfogen.sh')
-rwxr-xr-xsysinfogen.sh42
1 files changed, 38 insertions, 4 deletions
diff --git a/sysinfogen.sh b/sysinfogen.sh
index 7fb1da1ac..ff1dadcb0 100755
--- a/sysinfogen.sh
+++ b/sysinfogen.sh
@@ -1,7 +1,23 @@
#!/bin/sh
-# Copyright (c) Hercules Dev Team, licensed under GNU GPL.
-# See the LICENSE file
+# This file is part of Hercules.
+# http://herc.ws - http://github.com/HerculesWS/Hercules
+#
+# Copyright (C) 2014-2015 Hercules Dev Team
+#
+# Hercules is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# 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
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# Base Author: Haru @ http://herc.ws
do_fail() {
@@ -31,9 +47,27 @@ if ! touch "$OUTFILE"; then
exit 1
fi
+YEAR="$(date +%Y)"
cat > "$OUTFILE" << EOF
-// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
-// See the LICENSE file
+/**
+ * This file is part of Hercules.
+ * http://herc.ws - http://github.com/HerculesWS/Hercules
+ *
+ * Copyright (C) 2014-$YEAR Hercules Dev Team
+ *
+ * Hercules is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * 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
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
// This file was automatically generated. Any edit to it will be lost.