You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemds.apache.org by GitBox <gi...@apache.org> on 2021/06/26 12:08:53 UTC
[GitHub] [systemds] j143 edited a comment on pull request #1325: Pypi publish script
j143 edited a comment on pull request #1325:
URL: https://github.com/apache/systemds/pull/1325#issuecomment-868991300
Should we use `cd`?
The `pushd` and `popd` may work like, which is a built-in function.
```sh
pushd ()
{
dirname=$1
DIR_STACK="$dirname ${DIR_STACK:-$PWD' '}"
cd ${dirname:?"missing directory name."}
echo "$DIR_STACK"
}
popd ()
{
DIR_STACK=${DIR_STACK#* }
cd ${DIR_STACK%% *}
echo "$PWD"
}
```
Does this spawn a subshell?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org