diff --git a/.travis.yml b/.travis.yml index 45b98a3..87cc310 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ compiler: - gcc before_install: - - sudo -s tools/travis_update_packages.sh + - sudo -s tools/travis_update_packages script: - cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_C_FLAGS=-Werror . diff --git a/CMakeLists.txt b/CMakeLists.txt index fdfd5a2..2ee7805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -563,7 +563,7 @@ add_custom_command (TARGET translation install (TARGETS xqf DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") # Query script -install (PROGRAMS ${CMAKE_SOURCE_DIR}/tools/qstat_savage.sh DESTINATION "${PACKAGE_DATA_DIR}/tools") +install (PROGRAMS ${CMAKE_SOURCE_DIR}/tools/qstat_savage DESTINATION "${PACKAGE_DATA_DIR}/tools") # UI if (GUI MATCHES GTK2) diff --git a/src/stat.c b/src/stat.c index d65654c..5b78046 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1060,7 +1060,7 @@ static struct stat_conn *stat_update_master_qstat (struct stat_job *job, struct /* savage hack */ if (m->type == SAS_SERVER) { - argv[argi++] = PACKAGE_DATA_DIR "/tools/qstat_savage.sh"; + argv[argi++] = PACKAGE_DATA_DIR "/tools/qstat_savage"; argv[argi++] = "-sam"; argv[argi++] = m->url; argv[argi++] = NULL; diff --git a/tools/import_flags.sh b/tools/import_flags similarity index 93% rename from tools/import_flags.sh rename to tools/import_flags index f7d42c8..89247cd 100755 --- a/tools/import_flags.sh +++ b/tools/import_flags @@ -1,5 +1,8 @@ #! /bin/sh +# Author: Thomas Debesse +# License: ISC + if [ "x${1}" = 'x-h' -o "x${1}" = '--help' -o "x${1}" = 'x' ] then echo "Usage: ${0} [XQF's source root directory]" diff --git a/tools/pot_generator.sh b/tools/pot_generator similarity index 93% rename from tools/pot_generator.sh rename to tools/pot_generator index d93af15..6bbdeaa 100755 --- a/tools/pot_generator.sh +++ b/tools/pot_generator @@ -1,5 +1,8 @@ #! /bin/sh +# Author: Thomas Debesse +# License: ISC + # # This script automatically updates translation template from the source code of XQF # diff --git a/tools/qstat_savage.sh b/tools/qstat_savage similarity index 97% rename from tools/qstat_savage.sh rename to tools/qstat_savage index d5feb27..f11aaea 100755 --- a/tools/qstat_savage.sh +++ b/tools/qstat_savage @@ -1,5 +1,8 @@ #! /bin/sh +# Author: Thomas Debesse +# License: ISC + if [ "x${1}" = 'x' -o "x${1}" = 'x--help' ] then printf 'Usage: %s -sam http://masterserver.savage.s2games.com/gamelist_full.dat\n' "${0}" diff --git a/tools/travis_update_packages.sh b/tools/travis_update_packages similarity index 97% rename from tools/travis_update_packages.sh rename to tools/travis_update_packages index 0769756..fc302b6 100755 --- a/tools/travis_update_packages.sh +++ b/tools/travis_update_packages @@ -1,5 +1,8 @@ #! /bin/sh +# Author: Thomas Debesse +# License: ISC + # please run this script as root user # please use tabs for indentation (heredocs starting with <<-EOF need tabs)