[packages/adapter: 127/631] - spaces->tabs - cosmetics
glen
glen at pld-linux.org
Mon Sep 12 19:45:06 CEST 2016
commit 7a72f4364125f1756f6edadb4506db8e7812d817
Author: paladine <paladine at pld-linux.org>
Date: Thu Nov 4 13:31:51 2004 +0000
- spaces->tabs
- cosmetics
Changed files:
adapter.awk -> 1.122
adapter.awk | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index dae3609..63e0dd0 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -15,7 +15,7 @@ BEGIN {
preamble = 1 # Is it part of preamble? Default - yes
boc = 4 # Beggining of %changelog
bod = 0 # Beggining of %description
- tw = 70 # Descriptions width
+ tw = 70 # Descriptions width
# If variable removed, then 1 (for removing it from export)
removed["LDFLAGS"] = 0
@@ -350,7 +350,7 @@ preamble == 1 {
print "Group:\t\t" Grupa
if (Grupa ~ /^X11/ && x11 == 0) # Is it X11 application?
- x11 = 1
+ x11 = 1
byl_plik_z_grupami = 0
byl_opis_grupy = 0
@@ -439,7 +439,7 @@ preamble == 1 {
if ($1 ~ /%define/) {
# Do not add %define of _prefix if it already is.
- if ($2 ~ /^_prefix/) {
+ if ($2 ~ /^_prefix/) {
sub("^"prefix, $3, bindir)
sub("^"prefix, $3, sbindir)
sub("^"prefix, $3, libdir)
@@ -467,7 +467,7 @@ preamble == 1 {
}
-# main() ;-)
+# main() ;-)
{
preamble = 1
@@ -509,11 +509,11 @@ END {
print "$" "Log:$"
}
-function fixedsub(s1,s2,t, ind) {
+function fixedsub(s1,s2,t, ind) {
# substitutes fixed strings (not regexps)
- if (ind = index(t,s1))
- t = substr(t, 1, ind-1) s2 substr(t, ind+length(s1))
- return t
+ if (ind = index(t,s1))
+ t = substr(t, 1, ind-1) s2 substr(t, ind+length(s1))
+ return t
}
# There should be one or two tabs after the colon.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list