wok-current rev 25736 tip

Add miss git-branch patch for cookutils
author Stanislas Leduc <shann@slitaz.org>
date Mon Jan 20 09:30:59 2025 +0000 (4 hours ago)
parents 6ed56194c1b9
children
files cookutils/stuff/cook-git-branch.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cookutils/stuff/cook-git-branch.patch	Mon Jan 20 09:30:59 2025 +0000
     1.3 @@ -0,0 +1,13 @@
     1.4 +--- a/cook
     1.5 ++++ b/cook
     1.6 +@@ -263,6 +263,10 @@
     1.7 +				cd $pkgsrc; git checkout $BRANCH; cd ..
     1.8 +			fi
     1.9 +			cd $SRC
    1.10 ++			if [ -n "$BRANCH" ]; then
    1.11 ++				mv $pkgsrc $pkgsrc-$BRANCH
    1.12 ++				pkgsrc="$pkgsrc-$BRANCH"
    1.13 ++			fi
    1.14 +			create_tarball ;;
    1.15 + 
    1.16 +		cvs*)