summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-04 20:30:58 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-04 20:30:58 +0200
commite3da1b94d531160e469209d6de260211ba6afc41 (patch)
tree2f489d54e83cdb20a5021c2cd5ad8a544d2d37da /bin
parent6572d30d98f05af7195c35eca38c5df9e3faa1de (diff)
pkg: vcs_pull: Added newlines to the non-master-branch warning...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pkg b/bin/pkg
index c6a805e..965af60 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -255,9 +255,9 @@ function vcs_pull {
git pull
} else {
if [[ $branch != master ]] {
- warn "$1: The currently checked out branch is not master, but '$branch'" \
- "Currently, pkg can only operate on the branch master" \
- " -> skipping repo, please fix manually or report a bug"
+ warn "$1: The currently checked out branch is not master, but '$branch'\n" \
+ "Currently, pkg can only operate on the branch master\n" \
+ " -> skipping repo, please fix manually or report a bug\n"
return 1
}
git pull $PKG_ROOT/${PWD:t} master