diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-07 18:46:31 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-07 18:46:31 +0100 |
commit | 2392a6c57e4fb2cdb816da10f3b8d0fa9573f8ed (patch) | |
tree | 97141ab28a7621ae63777a72f532abe6b46b7337 | |
parent | dbff96ce44224d01d615343a897ba3b271c57bcc (diff) | |
download | ndim-git-utils-2392a6c57e4fb2cdb816da10f3b8d0fa9573f8ed.tar.gz ndim-git-utils-2392a6c57e4fb2cdb816da10f3b8d0fa9573f8ed.tar.xz ndim-git-utils-2392a6c57e4fb2cdb816da10f3b8d0fa9573f8ed.zip |
Run "git push" in correct dir
-rw-r--r-- | Makefile.am | 2 |
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)" |