We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3c9cd commit 3aa91d5Copy full SHA for 3aa91d5
t/stg
@@ -3,11 +3,12 @@
3
# This script is only used by the tests so they can work without stgit being
4
# installed. It assumes PYTHONPATH to be set up correctly.
5
6
-SCRIPT_DIR=$(dirname "$0")
7
-cd $SCRIPT_DIR
8
-SCRIPT_DIR=$(pwd)
9
-cd -
10
-STGIT_ROOT="$(realpath $SCRIPT_DIR/..)"
+CUR_DIR="$(pwd)"
+SCRIPT_DIR="$(dirname "$0")"
+cd "$SCRIPT_DIR"
+SCRIPT_DIR="$(pwd)"
+cd "$CUR_DIR"
11
+STGIT_ROOT="$(realpath "$SCRIPT_DIR/..")"
12
13
# sanity check
14
if test ! -f "$STGIT_ROOT/build/lib/stgit/main.py"; then
0 commit comments