aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-12 18:20:22 +0800
committerbapt <bapt@FreeBSD.org>2014-06-12 18:20:22 +0800
commit037f472d73e7a22e761cb241c4cb8302245092e6 (patch)
treefd2852da220eb6d0d1f357cfa8ed30622cbde9ee /Keywords
parent11a20c4944e5bef2ca03b853bcb228faf389fdfe (diff)
downloadfreebsd-ports-gnome-037f472d73e7a22e761cb241c4cb8302245092e6.tar.gz
freebsd-ports-gnome-037f472d73e7a22e761cb241c4cb8302245092e6.tar.zst
freebsd-ports-gnome-037f472d73e7a22e761cb241c4cb8302245092e6.zip
Cosmetic
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" {