[packages/rpm-build-tools] builder.sh: You do not need cd at the end of the builder script

glen glen at pld-linux.org
Wed Feb 22 19:17:18 CET 2023


commit c4018dd7a6b56456565bc380d19de62ea690362d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Feb 22 20:16:16 2023 +0200

    builder.sh: You do not need cd at the end of the builder script

 builder.sh | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index d911c21..68bb875 100755
--- a/builder.sh
+++ b/builder.sh
@@ -2756,6 +2756,5 @@ esac
 if [ -f "`pwd`/.${SPECFILE}_INSTALLED_PACKAGES" -a "$REMOVE_BUILD_REQUIRES" != "" ]; then
 	rm "`pwd`/.${SPECFILE}_INSTALLED_PACKAGES"
 fi
-test -d "$__PWD" && cd "$__PWD"
 
 # vi:syntax=sh:ts=4:sw=4:noet
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/c4018dd7a6b56456565bc380d19de62ea690362d



More information about the pld-cvs-commit mailing list