diff options
Diffstat (limited to 'handbrake/build/handbrake.SlackBuild')
-rwxr-xr-x | handbrake/build/handbrake.SlackBuild | 9 |
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 \ |