[X2Go-Commits] [x2gokdrive] 06/08: x2gokdrive.spec: use pushd instead of cd.

git-admin at x2go.org git-admin at x2go.org
Mon Oct 28 06:47:20 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit d9f15fe6d8fc985449ef3c5757f672a1897cb9dc
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Oct 28 05:17:53 2019 +0100

    x2gokdrive.spec: use pushd instead of cd.
    
    Minor change.
---
 debian/changelog | 1 +
 x2gokdrive.spec  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 29f5a6e..cfcddcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     + %autosetup (or %setup) create a top-level BUILD directory into which the
       source tarball is extracted - but we also need a BUILD sub-directory.
       Create it.
+    + Use pushd instead of cd. Minor change.
   * debian/rules:
     + Remove weird empty variable reference construct.
     + Whitespace-only fixes.
diff --git a/x2gokdrive.spec b/x2gokdrive.spec
index 1ed9666..5c0d9ee 100644
--- a/x2gokdrive.spec
+++ b/x2gokdrive.spec
@@ -208,7 +208,7 @@ cp -r 'man/' 'BUILD/hw/kdrive/x2gokdrive/'
 # patch xorg-server build tree, so that it will build x2gokdrive
 set -x
 export XORG_UPSTREAM_VERSION="$(grep 'AC_INIT' 'BUILD/configure.ac' | sed -r 's/^AC_INIT[^,]*, ([^,]+),.*/\1/')"
-cd 'BUILD'
+pushd 'BUILD'
 if [ -d "../patches.xorg/${XORG_UPSTREAM_VERSION}" ]; then
   QUILT_PATCHES="../patches.xorg/${XORG_UPSTREAM_VERSION}/" quilt push -a
 else

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list