aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-12 10:20:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-12 10:20:22 +0000
commit66084fe5064d42aed689f378bbbb64199ab8ca68 (patch)
treefd2852da220eb6d0d1f357cfa8ed30622cbde9ee /Keywords
parent10cbadd62093ba4a608d5ae0ae72fb4fcabbd3b3 (diff)
downloadports-66084fe5064d42aed689f378bbbb64199ab8ca68.tar.gz
ports-66084fe5064d42aed689f378bbbb64199ab8ca68.zip
Cosmetic
Notes
Notes: svn path=/head/; revision=357581
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/pkg_install.awk18
1 files changed, 9 insertions, 9 deletions
diff --git a/Keywords/pkg_install.awk b/Keywords/pkg_install.awk
index c69f7ebf234d..c08dca962879 100644
--- a/Keywords/pkg_install.awk
+++ b/Keywords/pkg_install.awk
@@ -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" {