aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/tools/genpackage.sh
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-08-06 09:38:44 +0000
committercassiopc <cassiopc@gmail.com>2012-08-06 09:38:44 +0000
commitb3dcfc7cfa76a09bcd6cdfddaf7897b88b98aa20 (patch)
tree0c024bfdcaae3b43f4bcf926c62fa55e9493ff81 /boca-1.5.0/tools/genpackage.sh
parent866658cded5b92ddb2681dead1ebaf111d712fcc (diff)
downloadboca-b3dcfc7cfa76a09bcd6cdfddaf7897b88b98aa20.tar.gz
boca-b3dcfc7cfa76a09bcd6cdfddaf7897b88b98aa20.zip
include file /etc/boca.conf with info where is boca installed
Diffstat (limited to 'boca-1.5.0/tools/genpackage.sh')
-rwxr-xr-xboca-1.5.0/tools/genpackage.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/boca-1.5.0/tools/genpackage.sh b/boca-1.5.0/tools/genpackage.sh
index 0a61c3a..18caac2 100755
--- a/boca-1.5.0/tools/genpackage.sh
+++ b/boca-1.5.0/tools/genpackage.sh
@@ -1,4 +1,21 @@
#!/bin/bash
+# ////////////////////////////////////////////////////////////////////////////////
+# //BOCA Online Contest Administrator
+# // Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
+# //
+# // This program 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/>.
+# ////////////////////////////////////////////////////////////////////////////////
+# // Last modified 06/aug/2012 by cassio@ime.usp.br
cdir=`pwd`
basen=`basename $cdir`
if [ ! -f "$cdir/genpackage.sh" -o "$basen" != "tools" ]; then