From b0d6b20304de0c7ac496fc1d29f1a5eb70830daa Mon Sep 17 00:00:00 2001 From: Matteo Lelli Date: Wed, 18 Dec 2024 11:17:52 +0100 Subject: [PATCH] Fix path given to `unzip` command `WORKING_FOLDER_NAME` should be unquoted --- makePipRecipes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makePipRecipes.py b/makePipRecipes.py index 025243a..1e2836d 100644 --- a/makePipRecipes.py +++ b/makePipRecipes.py @@ -251,7 +251,7 @@ def removeWorkingFolder(): if(detectedFiletype == 1 ): os.system('sudo tar -xzpf '+WORKING_FOLDER_NAME+'/'+filename+' -C '+WORKING_FOLDER_NAME) else: - os.system('unzip '+'WORKING_FOLDER_NAME/'+filename+' -d '+WORKING_FOLDER_NAME) + os.system('unzip '+WORKING_FOLDER_NAME+'/'+filename+' -d '+WORKING_FOLDER_NAME) # Check if the unpacking was successful if(os.path.isdir(WORKING_FOLDER_NAME+'/'+fileFolderName)):