Continue WIP
[git/cygwin-packages/biber.git] / fix_names.sh
similarity index 82%
rename from prereqs05/fix_names.sh
rename to fix_names.sh
index 4a5937ffa52e1505a10273ea39610ec6e6234c9d..e9978b5653c113942a3abdc91294e64075cb49ee 100755 (executable)
@@ -4,7 +4,7 @@ for d in *.src
 do
     if [ -d ${d} ]
     then
-       m=$(echo ${d} | sed -e 's/[-.0-9]*\.src$//')
+       m=$(echo ${d} | sed -e 's/-[-.0-9]*\.src$//')
        mv ${d} ${m} || exit 1
        echo "Entering ${m}..."
        cd ${m} || exit 1
@@ -16,14 +16,16 @@ do
        if [ -f ${m}-${VERSION}-1.src.patch ]
        then
            mv ${m}-${VERSION}-1.src.patch achim.patch || exit 1
-           echo 'PATCH_URI="achim.patch"' >> ${m}/${m}.cygport || exit 1
+           echo 'PATCH_URI="achim.patch"' >> ${m}.cygport || exit 1
        fi
        eval $(grep '^RELEASE=' *.cygport)
        if [ ${RELEASE} = 1 ]
        then
            sed -i -e 's/^RELEASE=.*/RELEASE=2/' ${m}.cygport
        else
+           echo
            echo "Warning: RELEASE = ${RELEASE}."
+           echo
        fi
        echo "Leaving ${m}."
        cd ..
This page took 0.020011 seconds and 5 git commands to generate.