svn commit: r357581 - head/Keywords

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 12 10:20:22 UTC 2014


Author: bapt
Date: Thu Jun 12 10:20:22 2014
New Revision: 357581
URL: http://svnweb.freebsd.org/changeset/ports/357581
QAT: https://qat.redports.org/buildarchive/r357581/

Log:
  Cosmetic

Modified:
  head/Keywords/pkg_install.awk

Modified: head/Keywords/pkg_install.awk
==============================================================================
--- head/Keywords/pkg_install.awk	Thu Jun 12 10:11:23 2014	(r357580)
+++ head/Keywords/pkg_install.awk	Thu Jun 12 10:20:22 2014	(r357581)
@@ -23,15 +23,15 @@
 #  @comment end @shell bin/shell
 
 $1 == "@sample" {
-  sample_file=$2
-  # Take out .sample
-  target_file=substr(sample_file, 0, length(sample_file) - 7)
-  print "@comment begin " $0
-  print "@unexec if cmp -s '%D/" target_file "' '%D/" sample_file "'; then rm -f '%D/" target_file "'; fi"
-  print sample_file
-  print "@exec if ! [ -f '%D/" target_file "' ]; then /bin/cp -p '%D/" sample_file "' '%D/" target_file "'; fi"
-  print "@comment end " $0
-  next
+	sample_file=$2
+	# Take out .sample
+	target_file=substr(sample_file, 0, length(sample_file) - 7)
+	print "@comment begin " $0
+	print "@unexec if cmp -s '%D/" target_file "' '%D/" sample_file "'; then rm -f '%D/" target_file "'; fi"
+	print sample_file
+	print "@exec if ! [ -f '%D/" target_file "' ]; then /bin/cp -p '%D/" sample_file "' '%D/" target_file "'; fi"
+	print "@comment end " $0
+	next
 }
 
 $1 == "@shell" {


More information about the svn-ports-head mailing list