summaryrefslogtreecommitdiffstats
path: root/scripts/tdesvn-build
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-29 23:32:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-29 23:32:53 -0600
commite4cbbc78e0face70ca9725a64e281ac585a1b308 (patch)
tree9cc5623d1762ca43cd36354fdca0798c1abcd71e /scripts/tdesvn-build
parent7c6d47908a2fd7f9959c0e5b92d86bd0ff036447 (diff)
downloadtdesdk-e4cbbc78e0face70ca9725a64e281ac585a1b308.tar.gz
tdesdk-e4cbbc78e0face70ca9725a64e281ac585a1b308.zip
Rename a few build variables for overall consistency
Diffstat (limited to 'scripts/tdesvn-build')
-rwxr-xr-xscripts/tdesvn-build14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/tdesvn-build b/scripts/tdesvn-build
index 657b0390..ac998f28 100755
--- a/scripts/tdesvn-build
+++ b/scripts/tdesvn-build
@@ -2231,7 +2231,7 @@ DONE
sub get_lock
{
my $lockfile = "$ENV{HOME}/.tdesvn-lock";
- sysopen LOCKFILE, $lockfile, O_WRONLY | O_CREAT | O_EXCL;
+ sysopen LOCTDEFILE, $lockfile, O_WRONLY | O_CREAT | O_EXCL;
my $errorCode = $!; # Save for later testing.
# Install signal handlers to ensure that the lockfile gets closed.
@@ -2298,16 +2298,16 @@ sub get_lock
# twice.
warning " y[WARNING]: stale tdesvn-build lockfile found, deleting.";
unlink $lockfile;
- sysopen LOCKFILE, $lockfile, O_WRONLY | O_CREAT | O_EXCL and do
+ sysopen LOCTDEFILE, $lockfile, O_WRONLY | O_CREAT | O_EXCL and do
{
- print LOCKFILE "$$\n";
- close LOCKFILE;
+ print LOCTDEFILE "$$\n";
+ close LOCTDEFILE;
};
return 1; # Hope the sysopen worked.
}
- print LOCKFILE "$$\n";
- close LOCKFILE;
+ print LOCTDEFILE "$$\n";
+ close LOCTDEFILE;
# Even if we fail it's generally better to allow the script to proceed
# without being a jerk about things, especially as more non-CLI-skilled
@@ -2320,7 +2320,7 @@ sub close_lock
{
my $lockfile = "$ENV{HOME}/.tdesvn-lock";
- close LOCKFILE;
+ close LOCTDEFILE;
unlink $lockfile;
}