commit f5b01c7cfe3334d52f07fe9dddaaf618562d3d0d
Author: Kacper Kornet <[email protected]>
Date:   Tue Aug 7 15:40:18 2012 +0100

    Fix behaviour for packagename/ with trailing '/' in argument list
    
    In some shells autocompletion easily results in sending packagedir with
    trailing '/' in argument list. Previously such arguments has been
    treated correctly, however it has been broken by
    e4d71c863233848f975695cf52a4b35a9b0f5731 "Rewrite parser of spec:branch
    syntax".

 make-request.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index c9e4b0c..0a3bc60 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -595,7 +595,7 @@ specs=`for s in $specs; do
                echo ${_specfile%.spec}.spec:${s##*:}
                ;;
        *) # just package name
-               echo $(basename ${s%.spec}.spec):$branch
+               echo $(basename ${s%.spec}).spec:$branch
                ;;
        esac
 done`
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to