[X2Go-Commits] [x2goclient-contrib] 01/02: current-timestamp-scripts.sh: use less error-prone "pushd ..." and "popd" instead of "cd ..." and "cd ..".

git-admin at x2go.org git-admin at x2go.org
Thu Jun 7 07:52:33 CEST 2018


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 at 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


More information about the x2go-commits mailing list