Skip to content

Commit bd930e1

Browse files
committed
Find processing-py.jar directly
1 parent eb66fd6 commit bd930e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fetch_processing_jar.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +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" \;
51+
# Find the JAR file and rename it to processing-py.jar while moving it to the target directory
52+
find "$TARGET_DIR" -name 'processing-py.jar' -exec mv {} "$TARGET_DIR/processing-py.jar" \;
5353

5454
echo "Listing contents of $TARGET_DIR:"
5555
ls -l "$TARGET_DIR"

0 commit comments

Comments
 (0)