typo in last commit: remove .spec from package name
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 26 Jan 2012 11:45:02 +0000 (11:45 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 26 Jan 2012 11:45:02 +0000 (11:45 +0000)
id-release

index 169024e..b9998d9 100755 (executable)
@@ -48,7 +48,7 @@ else
     spec=`ls |egrep '\.spec$' | head -1`
     package=`perl -ne 's/\s*$//; print if s/^NAME=//' IDMETA`
     if [ -z "$package" ]; then
-       package=$spec
+       package=`basename $spec .spec`
     fi
 fi