forked from extern/shorewall_code
Fix uploading/staging of release notes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6721 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c3258ec5d1
commit
fac2590efd
@ -68,9 +68,9 @@ esac
|
|||||||
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
||||||
|
|
||||||
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
||||||
cat shorewall-${1}/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
|
cat shorewall-common-${1}/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
|
||||||
else
|
else
|
||||||
cat shorewall-${1}/releasenotes.txt > releasenotes.txt
|
cat shorewall-common-${1}/releasenotes.txt > releasenotes.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ssh ${DEST%%:*} mkdir -p ${DEST#*:}
|
ssh ${DEST%%:*} mkdir -p ${DEST#*:}
|
||||||
|
@ -66,9 +66,9 @@ esac
|
|||||||
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
||||||
|
|
||||||
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
||||||
cat shorewall-${1}/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
|
cat shorewall-common-${1}/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
|
||||||
else
|
else
|
||||||
cat shorewall-${1}/releasenotes.txt > releasenotes.txt
|
cat shorewall-common-${1}/releasenotes.txt > releasenotes.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ssh ${DEST%%:*} mkdir -p ${DEST#*:}
|
ssh ${DEST%%:*} mkdir -p ${DEST#*:}
|
||||||
|
Loading…
Reference in New Issue
Block a user