[ 
https://issues.apache.org/jira/browse/YETUS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255960#comment-15255960
 ] 

Sean Busbey commented on YETUS-364:
-----------------------------------

{code}
+  pushd .. >/dev/null
+  #shellcheck disable=SC2038
+  find "${current}" \( -name target -o -name publish -o -name .git \) -prune 
-o ! -type d -print | xargs pax -w -a -f 
"${current}/target/yetus-${YETUS_VERSION}-src.tar" -s 
"/${current}/yetus-${YETUS_VERSION}/"
+  popd >/dev/null
{code}

Can we use a subshell with {{cd}} instead of {{pushd}}/{{popd}}?

> make building source archive POSIX-compliant
> --------------------------------------------
>
>                 Key: YETUS-364
>                 URL: https://issues.apache.org/jira/browse/YETUS-364
>             Project: Yetus
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.2.1
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>         Attachments: YETUS-364.00.patch, YETUS-364.01.patch
>
>
> Follow-up from YETUS-358. See [Allen's 
> comment|https://issues.apache.org/jira/browse/YETUS-358?focusedCommentId=15220075&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15220075].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to