summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2018-02-07 11:31:14 +0100
committerSebastian Pipping <sebastian@pipping.org>2018-02-07 11:31:14 +0100
commite88c67638812ce4e2316d11f8c8cb1a6d300ca2e (patch)
tree706761549829989bb7f2b59a1de1fc0442c109cc
parenta23ef7aeef660c018fe647edcf322a426c88544c (diff)
downloaduriparser-e88c67638812ce4e2316d11f8c8cb1a6d300ca2e.tar.gz
scripts: Delete some obsolete scripts
-rwxr-xr-xscripts/fix_svn_props.sh53
-rwxr-xr-xscripts/rewrite_checksums.sh24
-rwxr-xr-xscripts/tag_trunk.sh22
3 files changed, 0 insertions, 99 deletions
diff --git a/scripts/fix_svn_props.sh b/scripts/fix_svn_props.sh
deleted file mode 100755
index 320a835..0000000
--- a/scripts/fix_svn_props.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#! /usr/bin/env bash
-PWD_BACKUP=${PWD}
-SCRIPT_DIR=`dirname "${PWD}/$0"`
-cd "${SCRIPT_DIR}/.." || exit 1
-function fail() { cd "${PWD_BACKUP}" ; exit 1; }
-####################################################################
-
-## Apply native EOL style
-find . -name '.svn' -prune -o \( \
- -name '*.cpp' \
- -o -name '*.c' \
- -o -name '*.h' \
- -o -name 'COPYING' \
- -o -name 'Doxyfile' \
- -o -name 'Makefile.*' \
- -o -name '*.sh' \
- \) \
- -exec svn propset svn:eol-style native {} \;
-EXTRA_NATIVE="\
- doc/Mainpage \
- \
- AUTHORS \
- BUGS \
- ChangeLog \
- COPYING \
- INSTALL \
- NEWS \
- README \
- THANKS \
- TODO.txt \
-"
-for i in ${EXTRA_NATIVE} ; do
- svn propset svn:eol-style native ${i}
-done
-
-
-## Fix inconsistent EOLs on Windows
-if [ "${TERM}" = "cygwin" ]; then
- find . -name '.svn' -prune -o \( \
- -name '*.cpp' \
- -o -name '*.c' \
- -o -name '*.h' \
- \) \
- -exec unix2dos {} \;
-fi
-
-
-## Make scripts executable
-find . -name '.svn' -prune -o \( -name '*.sh' \) -exec svn propset svn:executable '*' {} \;
-
-####################################################################
-cd "${PWD_BACKUP}" || fail
-exit 0
diff --git a/scripts/rewrite_checksums.sh b/scripts/rewrite_checksums.sh
deleted file mode 100755
index 29e6e33..0000000
--- a/scripts/rewrite_checksums.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#! /usr/bin/env bash
-(
-cd $(dirname $(which "$0"))/.. || exit 1
-echo "Writing checksums..."
-
-rm -f MD5SUMS SHA1SUMS
-for i in uriparser-*.{tar.{bz2,gz,lzma},zip} ; do
- [ -f "${i}" ] || continue
- echo "${i}"
- md5sum "${i}" >> MD5SUMS
- sha1sum "${i}" >> SHA1SUMS
-done
-
-cd doc
-rm -f MD5SUMS SHA1SUMS
-for i in uriparser-doc-*.{chm,qch,zip} ; do
- [ -f "${i}" ] || continue
- echo "${i}"
- md5sum "${i}" >> MD5SUMS
- sha1sum "${i}" >> SHA1SUMS
-done
-
-)
-exit $?
diff --git a/scripts/tag_trunk.sh b/scripts/tag_trunk.sh
deleted file mode 100755
index b974760..0000000
--- a/scripts/tag_trunk.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /usr/bin/env bash
-[ x$1 = x ] && { echo "USAGE: $0 <version>" ; exit 1 ; }
-
-version=$1
-base="https://uriparser.svn.sourceforge.net/svnroot/uriparser/uriparser"
-src="${base}/trunk/"
-dst="${base}/tags/uriparser-${version}"
-msg="uriparser ${version}"
-
-echo "# svn cp -m \"${msg}\" \\"
-echo "# \"${src}\" \\"
-echo "# \"${dst}\" \\"
-echo
-
-printf 'Shall I run this command? [y/N] '
-read -s line
-[ "${line}" = y ] || exit 0
-echo
-
-echo "Running..."
-svn cp -m "$msg" "$src" "$dst"
-exit $?