[Pkg-haskell-commits] [SCM] Debian package for MissingH branch, master, updated. debian/1.1.0.1-2-49-gdaefc69
John Goerzen
jgoerzen at complete.org
Tue Feb 16 22:45:37 UTC 2010
The following commit has been merged in the master branch:
commit 237cb92cc887a392f9577280e9e0850544356aca
Author: John Goerzen <jgoerzen at complete.org>
Date: Tue Feb 16 15:11:20 2010 -0600
Removed outdated renameit script
diff --git a/renameit.sh b/renameit.sh
deleted file mode 100644
index 6f70d62..0000000
--- a/renameit.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-set -e
-
-OLDNAME="$1"
-NEWNAME="$2"
-
-mod2fn () {
- echo -n "$1" | sed 's,\.,/,g'
- echo ".hs"
-}
-
-mod2destdir () {
- dirname "src/`mod2fn "$1"`"
-}
-
-sedname () {
- echo "$1" | sed 's/\./\\./g'
-}
-
-OLDFN=$(mod2fn "${OLDNAME}")
-NEWFN=src/$(mod2fn "${NEWNAME}")
-NEWDIR=$(mod2destdir "${NEWNAME}")
-echo "Old module name: ${OLDNAME}"
-echo "New module name: ${NEWNAME}"
-echo "Old module file: ${OLDFN}"
-echo "New module file: ${NEWFN}"
-echo "New module dir: ${NEWDIR}"
-
-mkdir -p ${NEWDIR}
-darcs add --recursive src || true
-darcs mv ${OLDFN} ${NEWFN}
-
-for FILE in \
- MissingH.cabal \
- COPYRIGHT \
- debian/copyright \
- `find src -name "*.hs"` \
- `find src -name "*.lhs"` \
- `find MissingH -name "*.hs"` \
- `find MissingH -name "*.lhs"` \
- `find testsrc -name "*.hs"`
-do
- sed -i "s,`sedname ${OLDNAME}`,${NEWNAME},g" $FILE
-done
-
-darcs record -am "Renamed ${OLDNAME} to ${NEWNAME}"
-
-
--
Debian package for MissingH
More information about the Pkg-haskell-commits
mailing list