summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-01-29 10:55:57 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2011-01-29 10:55:57 +0100
commit970d569f6fd26dca60dba1dac0ba97aed643c1b5 (patch)
tree1e879311487ccf1d1e40b23ccc1b2262f315845b /scripts
parentnetbeans-java: updated link to javac-impl-nb-7.0-b07.jar (diff)
downloadfordfrog-970d569f6fd26dca60dba1dac0ba97aed643c1b5.tar.gz
fordfrog-970d569f6fd26dca60dba1dac0ba97aed643c1b5.tar.bz2
fordfrog-970d569f6fd26dca60dba1dac0ba97aed643c1b5.zip
netbeans script now strips and -r[[:digit:]] from new ebuild name
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/netbeans/create_new_release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/netbeans/create_new_release.sh b/scripts/netbeans/create_new_release.sh
index 8595f2dad..4a291f0fc 100755
--- a/scripts/netbeans/create_new_release.sh
+++ b/scripts/netbeans/create_new_release.sh
@@ -12,7 +12,7 @@ fi
pushd $(dirname $(dirname $(dirname $(readlink -f ${0})))) >/dev/null || exit 1
for file in */*/*${OLD}*.ebuild ; do
- cp ${file} $(echo ${file} | sed "s/${OLD}/${NEW}/") || exit 1
+ cp ${file} $(echo ${file} | sed "s/${OLD}/${NEW}/" | sed -E "s/-r[[:digit:]]+//") || exit 1
done
sed -i "s%SOURCE_URL=.*%SOURCE_URL=\"${SOURCE_URL}\"%" */*/*${NEW}*.ebuild || exit 1