We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d4fe6 commit 2e99f6dCopy full SHA for 2e99f6d
install-dev-dependencies.sh
@@ -14,4 +14,4 @@ fi
14
pip install --user -r requirements.txt
15
16
# Install a hook to run tests before pushing.
17
-ln -s ../test.sh .git/hooks/pre-push
+ln -sf ../../test.sh .git/hooks/pre-push
test.sh
@@ -1,5 +1,9 @@
1
#!/bin/bash -ex
2
-cd "`dirname $0`"
+# Run tests for HTTPS Everywhere
3
+
4
+# We have to change to the right directory because this is sometimes invoked
5
+# through a symlink in .git/hooks/pre-push.
6
+cd $(dirname $(readlink -f $0))
7
8
# dummy Jetpack addon that contains tests
9
TEST_ADDON_PATH=./https-everywhere-tests/
0 commit comments