mirror of
https://dev.iopsys.eu/iopsys/iopsyswrt.git
synced 2025-12-20 00:52:33 +08:00
do not remove .git when MIRROR=0 passed
This reverts commit d05e2d96fc.
This commit is contained in:
@@ -224,7 +224,7 @@ define DownloadMethod/rawgit
|
||||
(cd $(SUBDIR) && git checkout $(VERSION) && git submodule update --init --recursive) && \
|
||||
echo "Packing checkout..." && \
|
||||
export TAR_TIMESTAMP=`cd $(SUBDIR) && git log -1 --format='@%ct'` && \
|
||||
rm -rf $(SUBDIR)/.git && \
|
||||
$(if $(filter 0,$(MIRROR)),,rm -rf $(SUBDIR)/.git &&) \
|
||||
$(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \
|
||||
mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \
|
||||
rm -rf $(SUBDIR);
|
||||
|
||||
Reference in New Issue
Block a user