vim-update.sh: bodhi client version depends on machine where we run the script, not on branch in git
This commit is contained in:
parent
5e82e77f8c
commit
c1bb8dc5e6
@ -28,6 +28,11 @@ if [ "x$1" == "x--force" ]; then
|
|||||||
force=1
|
force=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "x$(grep -o VERSION_ID=35 /etc/os-release)" == "xVERSION_ID=35" ]
|
||||||
|
then
|
||||||
|
BODHI_USER="--user $(id -un)"
|
||||||
|
fi
|
||||||
|
|
||||||
DATE=`date +"%a %b %d %Y"`
|
DATE=`date +"%a %b %d %Y"`
|
||||||
$debug fedpkg switch-branch "${branches[@]: $branches_index: 1}"
|
$debug fedpkg switch-branch "${branches[@]: $branches_index: 1}"
|
||||||
|
|
||||||
@ -119,11 +124,6 @@ if [ $CHANGES -ne 0 ]; then
|
|||||||
|
|
||||||
for branch in "${branches[@]:(1)}";
|
for branch in "${branches[@]:(1)}";
|
||||||
do
|
do
|
||||||
if [ "x$branch" == "xf35" ]
|
|
||||||
then
|
|
||||||
BODHI_USER="--user $(id -un)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# switch to branch
|
# switch to branch
|
||||||
$debug fedpkg switch-branch $branch
|
$debug fedpkg switch-branch $branch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user