X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm-build-tools.git;a=blobdiff_plain;f=relup.sh;h=f7b604025dbea93c0369378623fa6921eec6de7e;hp=1eb79a9061ae4861942d54ed1296401abcbaf57b;hb=eab531319357178bd111c8b86dc2f321114a2b6e;hpb=b2682b2ed8bbe82d8232d059437e5fbccfc61e9b diff --git a/relup.sh b/relup.sh index 1eb79a9..f7b6040 100755 --- a/relup.sh +++ b/relup.sh @@ -129,7 +129,9 @@ for file in $(ls "$tmpd" 2>/dev/null); do msg="$msg- release ${rel%%%*} (by relup.sh)$n" echo git commit -a -m "'$msg'" if [ "$test" != 1 ]; then - git commit -m "$msg" $files + cd $(dirname $1) + #git commit -m "$msg" $files + git commit -a -m "$msg" fi done rm -rf $tmpd