summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-06-24 10:49:25 +0000
committer Eric Hameleers <alien@slackware.com>2011-06-24 10:49:25 +0000
commitac238bb1c24aee57636cb8c1bd4d06a78f55105a (patch)
tree2ccbedc80d2d9ef9dccb7cc91bb188989f0fac7e /MPlayer
parent92bf351af162c041bc3fe023ecc7bf4c5eccd610 (diff)
downloadasb-ac238bb1c24aee57636cb8c1bd4d06a78f55105a.tar.gz
asb-ac238bb1c24aee57636cb8c1bd4d06a78f55105a.tar.xz
Do not use a 'BRANCH' variable
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index f4c25ae9..48495d85 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -222,11 +222,11 @@ src_checkout() {
else
# Checkout code from a certain branch and/or date; this will take a
# long time because we have to clone the complete git-repository first:
- echo "Checking out $BRANCH at date $VERSION from '$GITURI':"
+ echo "Checking out branch 'master' at date $VERSION from '$GITURI':"
git clone ${GITURI} ffmpeg \
&& cd ffmpeg \
- && git checkout $BRANCH \
- && git checkout $(git rev-list -n 1 --before="`date -d $VERSION`" $BRANCH) \
+ && git checkout master \
+ && git checkout $(git rev-list -n 1 --before="`date -d $VERSION`" master) \
&& cd ..
fi
chown -R root:root . \