FS#11348 - typos in PKGBUILD-git.proto

Attached to Project: Pacman
Opened by rich_o (rich_o) - Saturday, 30 August 2008, 15:01 GMT
Last edited by Allan McRae (Allan) - Tuesday, 28 October 2008, 04:57 GMT
Task Type Bug Report
Category Documentation
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
There are typos in /usr/share/pacman/PKGBUILD-git.proto, installed by abs.

"cd $_gitname && git-pull origin" should be "cd $_gitname && git pull origin" (there's no program called git-pull)
and
"rm -r "$srcdir/$_gitname-build"" should be "rm -rf "$srcdir/$_gitname-build"" (not really necessary, but supresses the error msg in case the folder doesn't exist)
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 28 October 2008, 04:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  abs-2.3
Comment by Xavier (shining) - Saturday, 30 August 2008, 23:12 GMT
Just FYI, the first problem is not really a typo. It is just that git-pull (and all others git-"command") has been deprecated for a while in favor of git "command", and the old way was finally totally dropped with the latest git release (1.6.0)
Comment by Allan McRae (Allan) - Sunday, 19 October 2008, 03:05 GMT

Loading...