Skip to content
Discussion options

You must be logged in to vote

There is no &PARENTPARENT variable because it's not a usual use case (heck, someone could even come and ask for PARENTPARENTPARENT for that matter 😉). The actions should remain general purpose only, and are not meant to be a build tool.

This is something that fits your particular use case, though. In this case, I'd suggest you add a shell script to your project that could take care of that particular need (and encapsulate the call to both commands). The Unix commands dirname, basename and xargs are available in bash and could help you get the name of that particular folder.

For example:

echo "/home/User/wwssrc/qrpglesrc" | xargs dirname | xargs basename
# prints "wwssrc" 

Having that scri…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LuGe00
Comment options

You must be logged in to vote
3 replies
@sebjulliand
Comment options

@LuGe00
Comment options

@sebjulliand
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants