]> arthur.barton.de Git - bup.git/commitdiff
configure: restore working dir after symlinking python
authorRob Browning <rlb@defaultvalue.org>
Sun, 5 Jul 2020 20:04:04 +0000 (15:04 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 18 Jul 2020 17:12:49 +0000 (12:12 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
config/configure

index 916bec371ea8864f563e5b422aa6962ef374cbfc..bbf5fb357e38ea7746e8738e3d253aa69fadfd4b 100755 (executable)
@@ -295,7 +295,7 @@ echo -n "$bup_python" > config.var/bup-python
 
 if test -e bin; then rm -r bin; fi
 mkdir -p bin
-cd bin && ln -s "$bup_python" python
+(cd bin && ln -s "$bup_python" python)
 
 printf "
 found: python (%q, $("$bup_python" --version 2>&1))