aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-06-12 13:15:40 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-06-12 13:15:40 +0200
commit74fea106069cd50c05ba076ee369812b917c5ee7 (patch)
treeef63d108e3b6e04a920a05b66c559f920cc4d1a6 /utils
parentaa7f2691f850d6ef7815510fa32deb751f3897ee (diff)
downloadturris-myrepo-74fea106069cd50c05ba076ee369812b917c5ee7.tar.gz
turris-myrepo-74fea106069cd50c05ba076ee369812b917c5ee7.tar.bz2
turris-myrepo-74fea106069cd50c05ba076ee369812b917c5ee7.zip
Fix git fetch
Diffstat (limited to 'utils')
-rwxr-xr-xutils/opkg-trans-master.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/opkg-trans-master.sh b/utils/opkg-trans-master.sh
index a44910b..b16845c 100755
--- a/utils/opkg-trans-master.sh
+++ b/utils/opkg-trans-master.sh
@@ -15,7 +15,7 @@ GIT_ARGS="--git-dir="$UPDATER_REPO_PATH" --bare"
if [ ! -d $UPDATER_REPO_PATH ]; then
git clone --bare $UPDATER_REPO $UPDATER_REPO_PATH
else
- git $GIT_ARGS fetch
+ git $GIT_ARGS fetch $UPDATER_REPO master:master
fi
# Get info
HASH="$(git $GIT_ARGS rev-parse HEAD)"