This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 16f06fc bin/: add new (empty) script createsusetagsrepo. new b5bae15 misc bin/: update license notice. new 9a961b2 bin/build-rpm-package: quiet down cmp, just for good measure. new e55a606 bin/{identify-cygwin-packages.sh,rpmsign-unattended,x2go-release-announcement}: fix whitespace issues. new 691e073 bin/createsusetagsrepo: add copyright and license notices. new a0a9527 bin/createsusetagsrepo: add some more (but unrelated) content. The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: bin/build-all-deb-packages | 10 ++++------ bin/build-deb-package | 10 ++++------ bin/build-nsis-package.sh | 10 ++++------ bin/build-rpm-package | 12 +++++------ bin/createsusetagsrepo | 40 ++++++++++++++++++++++++++++++++++++- bin/debian-codename-to-version.sh | 10 ++++------ bin/gitrevno | 10 ++++------ bin/identify-cygwin-packages.sh | 10 +++++----- bin/pkgneedsbuild | 10 ++++------ bin/rpmsign-unattended | 4 ++-- bin/tarballrelease | 12 +++++------ bin/ubuntu-codename-to-version.sh | 10 ++++------ bin/updatebuildmain | 10 ++++------ bin/updatebuildrelease | 10 ++++------ bin/x2go-release-announcement | 36 ++++++++++++++++----------------- 15 files changed, 109 insertions(+), 95 deletions(-) -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit b5bae156414c1f4e5e93de6a8e03f18b155bccbd Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 02:03:27 2016 +0200 misc bin/: update license notice. --- bin/build-all-deb-packages | 10 ++++------ bin/build-deb-package | 10 ++++------ bin/build-nsis-package.sh | 10 ++++------ bin/build-rpm-package | 10 ++++------ bin/debian-codename-to-version.sh | 10 ++++------ bin/gitrevno | 10 ++++------ bin/pkgneedsbuild | 10 ++++------ bin/tarballrelease | 12 +++++------- bin/ubuntu-codename-to-version.sh | 10 ++++------ bin/updatebuildmain | 10 ++++------ bin/updatebuildrelease | 10 ++++------ bin/x2go-release-announcement | 10 ++++------ 12 files changed, 49 insertions(+), 73 deletions(-) diff --git a/bin/build-all-deb-packages b/bin/build-all-deb-packages index 08fe9a6..08d851a 100755 --- a/bin/build-all-deb-packages +++ b/bin/build-all-deb-packages @@ -2,20 +2,18 @@ # Copyright (C) 2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. COMPONENT_MAIN="main" COMPONENT_BAIKAL="baikal" diff --git a/bin/build-deb-package b/bin/build-deb-package index 74887fa..cd307de 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -3,20 +3,18 @@ # Copyright (C) 2011-2013 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # Copyright (C) 2015-2016 by Mihai Moldovan <ionic@ionic.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. typeset script_path="$(dirname "$(readlink -e "${BASH_SOURCE}")")" diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh index 64ae283..69cb1bb 100755 --- a/bin/build-nsis-package.sh +++ b/bin/build-nsis-package.sh @@ -4,20 +4,18 @@ # Copyright (C) 2014-2015 by Mike DePaulo <mikedep333@gmail.com> # Copyright (C) 2015 by Mihai Moldovan <ionic@ionic.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. # Note: This script was adapted from build-deb-package. It is still very # rough around the edges. For example, many lines are commented out diff --git a/bin/build-rpm-package b/bin/build-rpm-package index c46dc00..e82a6b7 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -3,20 +3,18 @@ # Copyright (C) 2011-2013 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # Copyright (C) 2015 by Mihai Moldovan <ionic@ionic.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. typeset script_path="$(dirname "$(readlink -e "${BASH_SOURCE}")")" diff --git a/bin/debian-codename-to-version.sh b/bin/debian-codename-to-version.sh index 42f497b..d7b3d38 100755 --- a/bin/debian-codename-to-version.sh +++ b/bin/debian-codename-to-version.sh @@ -2,20 +2,18 @@ # Copyright (C) 2016 by Mihai Moldovan <ionic@ionic.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. export PATH="${HOME}/bin:${PATH}" diff --git a/bin/gitrevno b/bin/gitrevno index 2f121ff..cebd00d 100755 --- a/bin/gitrevno +++ b/bin/gitrevno @@ -2,20 +2,18 @@ # Copyright (C) 2010-2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# along with this program. If not, see <http://www.gnu.org/licenses/>. import subprocess _proc = subprocess.Popen('git log --no-color --date=iso', diff --git a/bin/pkgneedsbuild b/bin/pkgneedsbuild index 2a192eb..d80cf03 100755 --- a/bin/pkgneedsbuild +++ b/bin/pkgneedsbuild @@ -2,20 +2,18 @@ # Copyright (C) 2010-2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# along with this program. If not, see <http://www.gnu.org/licenses/>. set -xe diff --git a/bin/tarballrelease b/bin/tarballrelease index 1696d9f..f4a4c2e 100755 --- a/bin/tarballrelease +++ b/bin/tarballrelease @@ -2,20 +2,18 @@ # Copyright (C) 2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify -# it under the tBerms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# 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 is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. # Thanks to Jonas Smedegaard <dr@jones.dk> for inspiration... diff --git a/bin/ubuntu-codename-to-version.sh b/bin/ubuntu-codename-to-version.sh index 54768f6..0a71ba9 100755 --- a/bin/ubuntu-codename-to-version.sh +++ b/bin/ubuntu-codename-to-version.sh @@ -2,20 +2,18 @@ # Copyright (C) 2016 by Mihai Moldovan <ionic@ionic.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. export PATH="${HOME}/bin:${PATH}" diff --git a/bin/updatebuildmain b/bin/updatebuildmain index b7144d0..3c24d58 100755 --- a/bin/updatebuildmain +++ b/bin/updatebuildmain @@ -2,20 +2,18 @@ # Copyright (C) 2010-2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# along with this program. If not, see <http://www.gnu.org/licenses/>. set -e diff --git a/bin/updatebuildrelease b/bin/updatebuildrelease index 665778a..c41a1e8 100755 --- a/bin/updatebuildrelease +++ b/bin/updatebuildrelease @@ -2,20 +2,18 @@ # Copyright (C) 2010-2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +# along with this program. If not, see <http://www.gnu.org/licenses/>. set -e diff --git a/bin/x2go-release-announcement b/bin/x2go-release-announcement index ae0ba3a..5d424df 100755 --- a/bin/x2go-release-announcement +++ b/bin/x2go-release-announcement @@ -2,20 +2,18 @@ # Copyright (C) 2013 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> # -# This programme is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This programme is distributed in the hope that it will be useful, +# 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, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. offset=${1:-0} count=${2:-1} -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 9a961b2df82921a552800ffbf3484d46b0c4862b Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 02:04:04 2016 +0200 bin/build-rpm-package: quiet down cmp, just for good measure. --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index e82a6b7..344e796 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -466,7 +466,7 @@ cache_mock_config () { # A cached config file exists. if [ -r "${mock_cache_file_path}" ]; then # It's also readable. Compare it. - cmp "${TMP_MOCK_CFG_FILE}" "${mock_cache_file_path}" && { + cmp -s "${TMP_MOCK_CFG_FILE}" "${mock_cache_file_path}" && { echo "Cached mock config file matches generated one, using the cached file." >&2 } || { echo "Refreshing cached mock config file due to differing content." >&2 -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit e55a60693c0bc5dddbeef4de1d813e21b1817fec Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 02:08:34 2016 +0200 bin/{identify-cygwin-packages.sh,rpmsign-unattended,x2go-release-announcement}: fix whitespace issues. --- bin/identify-cygwin-packages.sh | 10 +++++----- bin/rpmsign-unattended | 4 ++-- bin/x2go-release-announcement | 26 +++++++++++++------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/bin/identify-cygwin-packages.sh b/bin/identify-cygwin-packages.sh index a16c885..8498477 100755 --- a/bin/identify-cygwin-packages.sh +++ b/bin/identify-cygwin-packages.sh @@ -5,9 +5,9 @@ export OUT="cygwin files and packages.csv" if [[ $# == 0 ]]; then echo "Example usage: $0 sh.exe libgcc_s-1.dll" echo "Output will be appended to \"${OUT}\"" - echo "This script is intended to help with GPL compliance." + echo "This script is intended to help with GPL compliance." echo "Currently this script does not identify the source package," - echo "Only the binary package." + echo "Only the binary package." echo "Browse a cygwin mirror or use Google/DuckDuckGo to identify the source package." fi @@ -15,7 +15,7 @@ echo "File,Binary Package w/ Version,Source Package" >> "${OUT}" for file in "$@" do - filepath="/bin/${file}" - binPkg=`cygcheck -f $filepath| tr -d '\r' | tr -d '\n'` - echo "${file},${binPkg}," >> "${OUT}" + filepath="/bin/${file}" + binPkg=`cygcheck -f $filepath| tr -d '\r' | tr -d '\n'` + echo "${file},${binPkg}," >> "${OUT}" done diff --git a/bin/rpmsign-unattended b/bin/rpmsign-unattended index a8782db..a84d1f0 100755 --- a/bin/rpmsign-unattended +++ b/bin/rpmsign-unattended @@ -1,5 +1,5 @@ -#!/usr/bin/expect -- - +#!/usr/bin/expect -- + spawn rpmsign {*}$argv expect -exact "Enter pass phrase: " send -- "\r" diff --git a/bin/x2go-release-announcement b/bin/x2go-release-announcement index 5d424df..418d13f 100755 --- a/bin/x2go-release-announcement +++ b/bin/x2go-release-announcement @@ -41,19 +41,19 @@ New gains of this version of ,,$project'' are: " cat debian/changelog | sed -e 's/Fixes:/Closes:/i' | dpkg-parsechangelog --offset $offset -c$count -l- | \ - sed -r \ - -e 's/^Closes:/Fixes these bug report(s):/i' \ - -e 's/Closes:/Fixes:/i' \ - -e 's/^Source: /X2Go Component: /' \ - -e 's/-0~x2go[0-9]//' \ - -e 's/-0x2go[0-9]//' \ - -e 's/-0$//' \ - -e "s/^\ $project\ \([0-9]*:([0-9\.]*)\)/\ $project \(\1\)/g" \ - -e 's/^Distribution: unstable/Status: RELEASE/' \ - -e 's/ unstable;/ RELEASED;/' \ - -e 's/^Distribution: UNRELEASED/Status: PREVIEW/' \ - -e 's/ UNRELEASED;/ PREVIEW;/' \ - | egrep -v "^(Urgency:|Maintainer:).*" + sed -r \ + -e 's/^Closes:/Fixes these bug report(s):/i' \ + -e 's/Closes:/Fixes:/i' \ + -e 's/^Source: /X2Go Component: /' \ + -e 's/-0~x2go[0-9]//' \ + -e 's/-0x2go[0-9]//' \ + -e 's/-0$//' \ + -e "s/^\ $project\ \([0-9]*:([0-9\.]*)\)/\ $project \(\1\)/g" \ + -e 's/^Distribution: unstable/Status: RELEASE/' \ + -e 's/ unstable;/ RELEASED;/' \ + -e 's/^Distribution: UNRELEASED/Status: PREVIEW/' \ + -e 's/ UNRELEASED;/ PREVIEW;/' \ + | egrep -v "^(Urgency:|Maintainer:).*" echo echo " -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 691e073b1c7472a3bf1e37ed1b992433901bc3bc Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 02:11:16 2016 +0200 bin/createsusetagsrepo: add copyright and license notices. --- bin/createsusetagsrepo | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bin/createsusetagsrepo b/bin/createsusetagsrepo index 8c3cbfc..540fa6e 100755 --- a/bin/createsusetagsrepo +++ b/bin/createsusetagsrepo @@ -1,3 +1,18 @@ #!/bin/bash +# Copyright (C) 2016 by Mihai Moldovan <ionic@ionic.de> +# +# 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/>. + exit 0 -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit a0a9527e16168b0ab0d78024c52ad4e32f5ef832 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 02:13:54 2016 +0200 bin/createsusetagsrepo: add some more (but unrelated) content. --- bin/createsusetagsrepo | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/bin/createsusetagsrepo b/bin/createsusetagsrepo index 540fa6e..1afab3a 100755 --- a/bin/createsusetagsrepo +++ b/bin/createsusetagsrepo @@ -15,4 +15,27 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -exit 0 +export PATH="${HOME}/bin:${PATH}" + +# ${CDPATH} could lead to some very nasty problems. Better unset it. +unset CDPATH + +usage () { + echo "Usage: $(basename "${0}") <top-directory-of-repository>" >&2 + exit "1" +} + +error () { + echo "Error: $@" >&2 + exit "1" +} + +set -e + +repo_top_dir="${1}" + +test -n "${repo_top_dir}" || usage + +cd "${repo_top_dir}" || error "Unable to switch to provided repository top directory." + +exit "0" -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git