summaryrefslogtreecommitdiff
path: root/make-version.pl
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-04-28 14:59:41 +0200
committerAnders Broman <a.broman58@gmail.com>2016-04-28 13:01:04 +0000
commit77632ba26832bbe1d62819144ecdcc792cb0e22b (patch)
tree2e1a6601e0e58d5806742bc8a7ec598327e43301 /make-version.pl
parentb16166c36abc6c63d9643defd1f2fb8ef5cf6343 (diff)
downloadwireshark-77632ba26832bbe1d62819144ecdcc792cb0e22b.tar.gz
Execute svn info in the sourcedir
Change-Id: I6b77c919e92af83c48bf02c49d865523f0a97d83 Reviewed-on: https://code.wireshark.org/review/15141 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl
index 684581bdfe..949fbdea3c 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -142,7 +142,7 @@ sub read_repo_info {
$version_pref{"git_client"} = 1;
} elsif (-d "$srcdir/.svn" or -d "$srcdir/../.svn") {
$info_source = "Command line (svn info)";
- $info_cmd = "svn info $srcdir";
+ $info_cmd = "cd $srcdir; svn info";
$version_pref{"svn_client"} = 1;
} elsif (-d "$srcdir/.git/svn") {
$info_source = "Command line (git-svn)";