aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-10-03 18:33:32 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-10-03 18:33:32 +0000
commit581b88c885bd764cdd67eda64b91e98fb73e2838 (patch)
tree42a831516c9e7ffd8509c727e65b16a60c320814 /Keywords
parent2bfc27cd358a68bd9055ed3397febb454bca3dad (diff)
downloadports-581b88c885bd764cdd67eda64b91e98fb73e2838.tar.gz
ports-581b88c885bd764cdd67eda64b91e98fb73e2838.zip
@sample: chmod u+w to ensure user may write to it.
PR: 193209 Submitted by: ohauer With hat: portmgr
Notes
Notes: svn path=/head/; revision=369927
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/sample.ucl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index bb622133461e..834788cbc418 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -22,7 +22,8 @@ post-install: <<EOD
esac
target_file="${sample_file%.sample}"
if ! [ -f "${target_file}" ]; then
- /bin/cp -p "${sample_file}" "${target_file}"
+ /bin/cp -p "${sample_file}" "${target_file}" && \
+ /bin/chmod u+w "${target_file}"
fi
EOD
pre-deinstall: <<EOD