]> TLD Linux GIT Repositories - packages/rpm-build-tools.git/commitdiff
- do not enter to REPO_DIR when cloning package repo
authorlisu <lisu@tld-linux.org>
Tue, 16 Aug 2011 13:46:18 +0000 (15:46 +0200)
committerlisu <lisu@tld-linux.org>
Tue, 16 Aug 2011 13:46:18 +0000 (15:46 +0200)
builder

diff --git a/builder b/builder
index 189d18a4529d915996b53e3e7ad458e0779f5522..484cb1d67d640e8e16a1d1e040af3cc256917c73 100755 (executable)
--- a/builder
+++ b/builder
@@ -815,7 +815,6 @@ get_spec() {
                                Exit_error err_not_implemented
                        else
                                (
-                                       cd "$REPO_DIR"
                                        unset GIT_WORK_TREE
                                        git clone -o $REMOTE_PLD ${GIT_SERVER}:${PACKAGES_DIR}/${ASSUMED_NAME}.git "$REPO_DIR/${ASSUMED_NAME}" || {
                                                # softfail if new package, i.e not yet added to PLD rep