aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-12-10 02:59:45 +0800
committercrees <crees@FreeBSD.org>2012-12-10 02:59:45 +0800
commit1a6fde545db0e6d7008485e90f0ebaaa1a77f22e (patch)
tree2b25056d421b3f09ebcfed96e6cd6c07b08eacbf /Tools
parent94cfb8e1290a0ca2d2f49064691a3c0b4f268922 (diff)
downloadfreebsd-ports-gnome-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.tar.gz
freebsd-ports-gnome-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.tar.zst
freebsd-ports-gnome-1a6fde545db0e6d7008485e90f0ebaaa1a77f22e.zip
Strip svn:executable just in case it's been set
Reported by: db
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index e7c83e0b8c56..4048a975984f 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));