Skip to content

Commit

Permalink
fix an expansion that doesn't work in ash
Browse files Browse the repository at this point in the history
  • Loading branch information
mberndt123 committed Apr 10, 2024
1 parent 65dbb6d commit 7cb16df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ process_args () {
-java-home) require_arg path "$1" "$2" && jre=`eval echo $2` && java_cmd="$jre/bin/java" && shift 2 ;;

-D*|-agentlib*|-agentpath*|-javaagent*|-XX*) addJava "$1" && shift ;;
-J*) addJava "${1:2}" && shift ;;
-J*) addJava "$(printf %s "$1" | sed s/^..//)" && shift ;;
*) addResidual "$1" && shift ;;
esac
done
Expand Down

0 comments on commit 7cb16df

Please sign in to comment.