Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2014 18:33:32 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369927 - head/Keywords
Message-ID:  <201410031833.s93IXW3n018603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Oct  3 18:33:32 2014
New Revision: 369927
URL: https://svnweb.freebsd.org/changeset/ports/369927
QAT: https://qat.redports.org/buildarchive/r369927/

Log:
  @sample: chmod u+w to ensure user may write to it.
  
  PR:		193209
  Submitted by:	ohauer
  With hat:	portmgr

Modified:
  head/Keywords/sample.ucl

Modified: head/Keywords/sample.ucl
==============================================================================
--- head/Keywords/sample.ucl	Fri Oct  3 18:30:41 2014	(r369926)
+++ head/Keywords/sample.ucl	Fri Oct  3 18:33:32 2014	(r369927)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410031833.s93IXW3n018603>