This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient-contrib. from e9cdf19 cygwin/: add chgrp, its dependencies and sources to 20160121-4 bundle. new f581bf5 current-timestamp-scripts.sh: use less error-prone "pushd ..." and "popd" instead of "cd ..." and "cd ..". new 5d94dae generate-timestamps-on-folder.sh: more quoting, fix slash detection. The 2 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: current-timestamp-scripts.sh | 36 ++++++++++++++++++------------------ generate-timestamps-on-folder.sh | 22 ++++++++++++---------- 2 files changed, 30 insertions(+), 28 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient-contrib.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient-contrib. commit f581bf556bc615548ec1449f2ee39876925bd3c0 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Jun 7 07:26:15 2018 +0200 current-timestamp-scripts.sh: use less error-prone "pushd ..." and "popd" instead of "cd ..." and "cd ..". --- current-timestamp-scripts.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/current-timestamp-scripts.sh b/current-timestamp-scripts.sh index 432df54..bb76e04 100755 --- a/current-timestamp-scripts.sh +++ b/current-timestamp-scripts.sh @@ -1,46 +1,46 @@ #!/bin/bash set -x -cd cygwin +pushd cygwin ./20150425-4_bin_set-timestamps.sh ./20160121-1_bin_set-timestamps.sh ./20160121-3_bin_set-timestamps.sh -cd .. +popd -cd libssh +pushd libssh ./0.7.0-x2go1-mingw482_bin_set-timestamps.sh ./0.7.4-x2go1-mingw482_bin_set-timestamps.sh -cd.. +popd -cd libzip +pushd libzip ./x86-mingw4-0.9.3_bin_set-timestamps.sh ./x86-mingw4-0.9.3_lib_set-timestamps.sh -cd .. +popd -cd MinGW-DLLs +pushd MinGW-DLLs ./i686-4.8.2-release-posix-dwarf-rt_v3-rev3_set-timestamps.sh -cd .. +popd -cd MSVC-DLLs +pushd MSVC-DLLs ./2008-9.0.21022.8-x86_set-timestamps.sh ./2013-12.0.21005.1-x86_set-timestamps.sh -cd .. +popd -cd pulse +pushd pulse ./6.0-11.1_bin_set-timestamps.sh ./7.1-2.2_bin_set-timestamps.sh -cd .. +popd -cd PuTTY +pushd PuTTY ./0.68_bin_set-timestamps.sh ./0.70_bin_set-timestamps.sh -cd .. +popd -cd VcXsrv +pushd VcXsrv ./1.20.0.0_bin_set-timestamps.sh -cd .. +popd -cd zlib +pushd zlib ./1.2.8_bin_set-timestamps.sh ./x86-mingw4-1.2.7-1_bin_set-timestamps.sh -cd .. +popd -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient-contrib.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient-contrib. commit 5d94daed0f458883ee3228573205d391cc1ee4fc Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Jun 7 07:40:46 2018 +0200 generate-timestamps-on-folder.sh: more quoting, fix slash detection. --- generate-timestamps-on-folder.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/generate-timestamps-on-folder.sh b/generate-timestamps-on-folder.sh index e434ea1..fabe05a 100755 --- a/generate-timestamps-on-folder.sh +++ b/generate-timestamps-on-folder.sh @@ -1,17 +1,19 @@ #!/bin/bash -if [ $# -eq 0 ] -then +if [[ "${#}" -eq '0' ]]; then echo "Usage: ${0} directory-name (no trailing slash)" - exit + exit '1' fi -if [[ ${1} == *"/"* ]] -then - echo "Usage: ${0} directory-name (no trailing slash)" - exit -fi +case "${1}" in + (*"/"*) + echo "Usage: ${0} directory-name (no trailing slash)" + exit '2' + ;; + (*) + ;; +esac # http://superuser.com/questions/513753/how-to-save-and-restore-files-created-... -find ${1} -type f -exec stat -c 'touch --no-create -d "%y" "%n"' {} \; > ${1}_set-timestamps.sh -chmod +x ${1}_set-timestamps.sh +find "${1}" -type 'f' -exec stat -c 'touch --no-create -d "%y" "%n"' '{}' \; > "${1}_set-timestamps.sh" +chmod +x "${1}_set-timestamps.sh" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient-contrib.git