summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 8d31b0e..d83caf6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,7 +43,7 @@ upload: $(UPLOAD_FILES) dist tag
done
rsync -avz --delete "$(UPLOAD_DIR)/" $(RSYNC_HOST):$(RSYNC_DIR)/$(PACKAGE_TARNAME)/
rm -rf "$(UPLOAD_DIR)"
- if test -d "$(top_srcdir)/.git"; then git push public master; fi
+ if test -d "$(top_srcdir)/.git"; then cd "$(top_srcdir)" && git push public master; fi
clean-local:
rm -rf "$(UPLOAD_DIR)"