chiark / gitweb /
Remove obsolete baz* scripts
[bin.git] / bazpath
diff --git a/bazpath b/bazpath
deleted file mode 100755 (executable)
index 8311b4b..0000000
--- a/bazpath
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh -e
-# Work out Bazaar archive names for branches or tags of the current
-# directory.
-
-WANTED="$1"
-ME="$(baz tree-version)"
-
-if [ "$WANTED" ]; then
-       ARCHIVE="$(baz parse-package-name --arch "$ME")"
-       CATEGORY="$(baz parse-package-name --category "$ME")"
-       case $WANTED in
-               *--*)
-                       echo "$ARCHIVE/$CATEGORY--$WANTED"
-                       ;;
-               *)
-                       VERSION="$(baz parse-package-name --vsn "$ME")"
-                       echo "$ARCHIVE/$CATEGORY--$WANTED--$VERSION"
-                       ;;
-       esac
-else
-       echo "$ME"
-fi