From 68be06b296f042aa3cc8623766b3cd44e134d25a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 3 Jun 2013 22:47:12 +0000 Subject: Work around pre-1.7 version of svn --- handbrake/build/handbrake.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'handbrake/build/handbrake.SlackBuild') 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 \ -- cgit v1.2.3-65-gdbad