From a4abf4402a69dba597868a4b51ca2966a1cac64e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 27 Jun 2014 13:36:04 +0200 Subject: Avoid --local when cloning build repositories, the --local option will create hard-links object/ref files pointing to the originating Git repository. However, we want completely disjunctive copies. --- bin/build-deb-package | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/build-deb-package') diff --git a/bin/build-deb-package b/bin/build-deb-package index a619871..0ac9f1d 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -192,7 +192,7 @@ build_packages() { chmod 2770 "$TEMP_DIR" -Rf cd "$PROJECT_DIR" - git clone --local "$PROJECT_DIR" "$TEMP_DIR/$PROJECT/" + git clone "$PROJECT_DIR" "$TEMP_DIR/$PROJECT/" cd "$TEMP_DIR/$PROJECT" git checkout $CHECKOUT || git checkout master find $PROJECT_DIR/../ -type f -maxdepth 0 -mindepth 0 | grep $PROJECT_*.orig.tar.gz &>/dev/null && cp $PROJECT_DIR/../$PROJECT_*.orig.tar.gz .. @@ -329,6 +329,7 @@ wait_for_lock() { lock_workspace() { wait_for_lock + echo $$ > $LOCK_FILE } -- cgit v1.2.3