diff options
author | Mike DePaulo <mikedep333@gmail.com> | 2014-07-12 09:59:30 -0400 |
---|---|---|
committer | Mike DePaulo <mikedep333@gmail.com> | 2014-07-12 09:59:30 -0400 |
commit | f23bb23feee9276c659582aa703265cc41fe402c (patch) | |
tree | 82028764164ce72e581f82fe0a7d6bb21dc544a2 /bin/generate-nsis-version.pl | |
parent | 8622460e405760326c6535591bf1db81e7075f6c (diff) | |
download | buildscripts-f23bb23feee9276c659582aa703265cc41fe402c.tar.gz buildscripts-f23bb23feee9276c659582aa703265cc41fe402c.tar.bz2 buildscripts-f23bb23feee9276c659582aa703265cc41fe402c.zip |
Another fix for b76f983
Diffstat (limited to 'bin/generate-nsis-version.pl')
-rwxr-xr-x | bin/generate-nsis-version.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/generate-nsis-version.pl b/bin/generate-nsis-version.pl index cd3771b..5c5c3be 100755 --- a/bin/generate-nsis-version.pl +++ b/bin/generate-nsis-version.pl @@ -6,7 +6,7 @@ use POSIX qw(strftime); my $date = strftime "%Y.%m.%d", localtime; -open(F,"<../GIT/nightly/x2goclient/version.h") or die; +open(F,"<../../GIT/nightly/x2goclient/version.h") or die; my @lines=<F>; close(F); @@ -14,7 +14,7 @@ my $text=join("",@lines); my $version=(split("VERSION \"",$text))[1]; my $version=(split("\"",$version))[0]; -open(F,"<../GIT/nightly/x2goclient/nsis/x2goclient.nsi") or die; +open(F,"<../../GIT/nightly/x2goclient/nsis/x2goclient.nsi") or die; @lines=<F>; close(F); @@ -23,6 +23,6 @@ $text=join("",@lines); $text=~s/X2GOCLIENT_VERSION/$version-$date/; #print $text; -open(F,">../GIT/nightly/x2goclient/nsis/x2goclient.nsi") or die; +open(F,">../../GIT/nightly/x2goclient/nsis/x2goclient.nsi") or die; print F $text; close(F); |