projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd1034
)
if NAME is not configured in IDMETA, use <name>.spec instead
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 26 Jan 2012 11:41:54 +0000
(11:41 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 26 Jan 2012 11:41:54 +0000
(11:41 +0000)
id-release
patch
|
blob
|
history
diff --git
a/id-release
b/id-release
index
bce301a
..
169024e
100755
(executable)
--- a/
id-release
+++ b/
id-release
@@
-25,7
+25,7
@@
echo "Did you updated the news log file?"
for file in Changes News NEWS
do
if [ -e $file ]; then
- ls -l Changes
+ ls -l $file
fi
done
echo ""
@@
-47,6
+47,9
@@
if [ `ls |egrep '\.spec$' | wc -l` -eq 0 ]; then
else
spec=`ls |egrep '\.spec$' | head -1`
package=`perl -ne 's/\s*$//; print if s/^NAME=//' IDMETA`
+ if [ -z "$package" ]; then
+ package=$spec
+ fi
fi
# configure new version