diff options
author | crees <crees@FreeBSD.org> | 2012-12-10 02:59:45 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-12-10 02:59:45 +0800 |
commit | 1a6fde545db0e6d7008485e90f0ebaaa1a77f22e (patch) | |
tree | 2b25056d421b3f09ebcfed96e6cd6c07b08eacbf /Tools | |
parent | 94cfb8e1290a0ca2d2f49064691a3c0b4f268922 (diff) | |
download | freebsd-ports-graphics-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.tar.gz freebsd-ports-graphics-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.tar.zst freebsd-ports-graphics-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.zip |
Strip svn:executable just in case it's been set
Reported by: db
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/addport | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index e7c83e0b8c5..4048a975984 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -405,6 +405,10 @@ foreach my $thisdir (@dirs) { } } + # strip svn:executable if added-- not allowed + + system("cd $portname && svn -qR propdel svn:executable"); + # figure out where the port name belongs in category Makefile my ($spaces, @ports) = &lsports; errx(1, "Error: $portname already exists in $category\'s Makefile") if (&contains($portname, @ports)); |