diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-08-08 01:45:34 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-08 01:45:34 +0200 |
commit | 7bee587c7f6694e88a69ebaec66d7447b0e30b7b (patch) | |
tree | ab0dc4b91a2d38ddafa120a6a7fad07ff63b99c7 /src/obsolete/bsfix/rewrite2-speed-test.sh | |
parent | format file (diff) | |
download | javatoolkit-7bee587c7f6694e88a69ebaec66d7447b0e30b7b.tar.gz javatoolkit-7bee587c7f6694e88a69ebaec66d7447b0e30b7b.tar.bz2 javatoolkit-7bee587c7f6694e88a69ebaec66d7447b0e30b7b.zip |
remove obsolete directory
Diffstat (limited to 'src/obsolete/bsfix/rewrite2-speed-test.sh')
-rwxr-xr-x | src/obsolete/bsfix/rewrite2-speed-test.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/obsolete/bsfix/rewrite2-speed-test.sh b/src/obsolete/bsfix/rewrite2-speed-test.sh deleted file mode 100755 index b572206..0000000 --- a/src/obsolete/bsfix/rewrite2-speed-test.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -files="" -JAVA_PKG_BSFIX_TARGET_TAGS=${JAVA_PKG_BSFIX_TARGET_TAGS:-"javac xjavac javac.preset"} -JAVA_PKG_BSFIX_SOURCE_TAGS=${JAVA_PKG_BSFIX_SOURCE_TAGS:-"javadoc javac xjavac javac.preset"} - -want_source="java-1.4" -want_target="java-1.5" - -NEWPATH="./" # TODO: CHANGEME -rpath="./xmls" # TODO: CHANGEME - -for i in $(ls $rpath/b*); -do - files=" $files -f $i" -done - -clean(){ - rm -rf $rpath - cp -rf $rpath.sav $rpath -} - -old() { - xml-rewrite-2.py ${files} \ - -c -e ${JAVA_PKG_BSFIX_SOURCE_TAGS// / -e } \ - -a source -v ${want_source} ${output} - xml-rewrite-2.py ${files} \ - -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \ - -a target -v ${want_target} ${output} -} - -new(){ - ${NEWPATH}/xml-rewrite-2.py ${files} \ - -c --source-element ${JAVA_PKG_BSFIX_SOURCE_TAGS// / --source_elements } \ - --source-attribute source --source-value ${want_source} \ - --target-element ${JAVA_PKG_BSFIX_TARGET_TAGS// / --target_elements} \ - --target-attribute target --target-value ${want_target} \ - ${output} -} - -clean -echo "_________________time old" -time old|grep -v "ewrit" - -clean -echo "_________________time new" -time new|grep -v "ewrit" - |