summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-tor-sources11
1 files changed, 9 insertions, 2 deletions
diff --git a/build-tor-sources b/build-tor-sources
index fa7631d..ffd3dff 100755
--- a/build-tor-sources
+++ b/build-tor-sources
@@ -27,8 +27,15 @@ set -e
set -x
# this is hardcoded to weasel's directory layout. sorry.
-GITDIR="$HOME/projects/tor/tor"
-PKG="tor"
+case "$(basename $0)" in
+ build-obfsproxy-sources)
+ GITDIR="$HOME/projects/debian/debian/obfsproxy/obfsproxy"
+ PKG="obfsproxy"
+ ;;
+ *)
+ GITDIR="$HOME/projects/tor/tor"
+ PKG="tor"
+esac
assert_files_dont_exist () {
local debian_version="$1";