summaryrefslogtreecommitdiffstats
path: root/handbrake
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-06-03 22:47:12 +0000
committer Eric Hameleers <alien@slackware.com>2013-06-03 22:47:12 +0000
commit68be06b296f042aa3cc8623766b3cd44e134d25a (patch)
tree067fd10fe21faf18c06f6cf18e4b5709a1aceeb6 /handbrake
parent4414c6b6cc7019ced0455375b5317d37af310f9b (diff)
downloadasb-68be06b296f042aa3cc8623766b3cd44e134d25a.tar.gz
asb-68be06b296f042aa3cc8623766b3cd44e134d25a.tar.xz
Work around pre-1.7 version of svn
Diffstat (limited to 'handbrake')
-rwxr-xr-xhandbrake/build/handbrake.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/handbrake/build/handbrake.SlackBuild b/handbrake/build/handbrake.SlackBuild
index 5c00e819..9ad5e156 100755
--- a/handbrake/build/handbrake.SlackBuild
+++ b/handbrake/build/handbrake.SlackBuild
@@ -317,9 +317,12 @@ fi
echo Building ...
# Make sure the "svn info" command does not fail (which causes configure to
# decide that this is a developer build:
-# The reason being that svn on Slackware 14 won't accept the metadata format
-# as created by the svn checkout I make on Slackware 13.37.
-[ -e .svn ] && svn upgrade
+# The reason being that svn 1.7 on Slackware 14 won't accept the metadata
+# format as created by the svn checkout I make on Slackware 13.37.
+SVNVER=$(LANG=C svn --version |grep ' version ' |cut -f 3 -d' ' |cut -f1,2 -d.)
+if [ "$SVNVER" != "1.6" -a -e .svn ]; then
+ svn upgrade
+fi
# This will build the commandline and GTK programs
./configure \