Skip to content

Commit 5c7c57d

Browse files
committed
Find the JAR file and rename it to processing-py.jar while moving it to the target directory
1 parent 8d4718f commit 5c7c57d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎fetch_processing_jar.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ fi
4848
echo "Downloading Processing.py for $OS ($ARCH)"
4949
wget -O processing.py-archive "$URL" && tar -xvzf processing.py-archive -C "$TARGET_DIR"
5050

51+
# Find the JAR file and rename it to processing-py.jar
52+
find "$TARGET_DIR" -name 'processing-py*.jar' -exec mv {} "$TARGET_DIR/processing-py.jar" \;
53+
5154
echo "Listing contents of $TARGET_DIR:"
5255
ls -l "$TARGET_DIR"

0 commit comments

Comments
 (0)