[X2Go-Commits] [buildscripts] 03/05: bin/{identify-cygwin-packages.sh, rpmsign-unattended, x2go-release-announcement}: fix whitespace issues.
git-admin at x2go.org
git-admin at x2go.org
Sat Oct 29 02:14:07 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit e55a60693c0bc5dddbeef4de1d813e21b1817fec
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Oct 29 02:08:34 2016 +0200
bin/{identify-cygwin-packages.sh,rpmsign-unattended,x2go-release-announcement}: fix whitespace issues.
---
bin/identify-cygwin-packages.sh | 10 +++++-----
bin/rpmsign-unattended | 4 ++--
bin/x2go-release-announcement | 26 +++++++++++++-------------
3 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/bin/identify-cygwin-packages.sh b/bin/identify-cygwin-packages.sh
index a16c885..8498477 100755
--- a/bin/identify-cygwin-packages.sh
+++ b/bin/identify-cygwin-packages.sh
@@ -5,9 +5,9 @@ export OUT="cygwin files and packages.csv"
if [[ $# == 0 ]]; then
echo "Example usage: $0 sh.exe libgcc_s-1.dll"
echo "Output will be appended to \"${OUT}\""
- echo "This script is intended to help with GPL compliance."
+ echo "This script is intended to help with GPL compliance."
echo "Currently this script does not identify the source package,"
- echo "Only the binary package."
+ echo "Only the binary package."
echo "Browse a cygwin mirror or use Google/DuckDuckGo to identify the source package."
fi
@@ -15,7 +15,7 @@ echo "File,Binary Package w/ Version,Source Package" >> "${OUT}"
for file in "$@"
do
- filepath="/bin/${file}"
- binPkg=`cygcheck -f $filepath| tr -d '\r' | tr -d '\n'`
- echo "${file},${binPkg}," >> "${OUT}"
+ filepath="/bin/${file}"
+ binPkg=`cygcheck -f $filepath| tr -d '\r' | tr -d '\n'`
+ echo "${file},${binPkg}," >> "${OUT}"
done
diff --git a/bin/rpmsign-unattended b/bin/rpmsign-unattended
index a8782db..a84d1f0 100755
--- a/bin/rpmsign-unattended
+++ b/bin/rpmsign-unattended
@@ -1,5 +1,5 @@
-#!/usr/bin/expect --
-
+#!/usr/bin/expect --
+
spawn rpmsign {*}$argv
expect -exact "Enter pass phrase: "
send -- "\r"
diff --git a/bin/x2go-release-announcement b/bin/x2go-release-announcement
index 5d424df..418d13f 100755
--- a/bin/x2go-release-announcement
+++ b/bin/x2go-release-announcement
@@ -41,19 +41,19 @@ New gains of this version of ,,$project'' are:
"
cat debian/changelog | sed -e 's/Fixes:/Closes:/i' | dpkg-parsechangelog --offset $offset -c$count -l- | \
- sed -r \
- -e 's/^Closes:/Fixes these bug report(s):/i' \
- -e 's/Closes:/Fixes:/i' \
- -e 's/^Source: /X2Go Component: /' \
- -e 's/-0~x2go[0-9]//' \
- -e 's/-0x2go[0-9]//' \
- -e 's/-0$//' \
- -e "s/^\ $project\ \([0-9]*:([0-9\.]*)\)/\ $project \(\1\)/g" \
- -e 's/^Distribution: unstable/Status: RELEASE/' \
- -e 's/ unstable;/ RELEASED;/' \
- -e 's/^Distribution: UNRELEASED/Status: PREVIEW/' \
- -e 's/ UNRELEASED;/ PREVIEW;/' \
- | egrep -v "^(Urgency:|Maintainer:).*"
+ sed -r \
+ -e 's/^Closes:/Fixes these bug report(s):/i' \
+ -e 's/Closes:/Fixes:/i' \
+ -e 's/^Source: /X2Go Component: /' \
+ -e 's/-0~x2go[0-9]//' \
+ -e 's/-0x2go[0-9]//' \
+ -e 's/-0$//' \
+ -e "s/^\ $project\ \([0-9]*:([0-9\.]*)\)/\ $project \(\1\)/g" \
+ -e 's/^Distribution: unstable/Status: RELEASE/' \
+ -e 's/ unstable;/ RELEASED;/' \
+ -e 's/^Distribution: UNRELEASED/Status: PREVIEW/' \
+ -e 's/ UNRELEASED;/ PREVIEW;/' \
+ | egrep -v "^(Urgency:|Maintainer:).*"
echo
echo "
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list