diff --git a/scripts/linuxparty.sh b/scripts/linuxparty.sh
index 5998a524dd18c472fa8883a89c5690fd3d06a1e1..aef292d53a90874c056f399c6f7ead24d164bc3f 100644
--- a/scripts/linuxparty.sh
+++ b/scripts/linuxparty.sh
@@ -405,7 +405,7 @@ install_rope() {
 			mkdir -p "$ROPE_BUILD_DIR"
 			pushd "$ROPE_BUILD_DIR" >/dev/null
 			tar xf "$ROPE_TAR"
-			cd $(basename "$ROPE_TAR")
+			cd $(basename "$ROPE_TAR" .tar.gz)
 			
 			echo "Baue rope"
 			python3 setup.py build