repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patch-ID: bash32-029
[bash.git]
/
tests
/
builtins1.sub
blob
5b7971136a71353cbb78c56275b2d6b99aa4b70d
1
unset CDPATH
2
3
MYDIR=$(pwd -P)
4
FULLDIR=/tmp/bash-dir-a
5
DIR=${FULLDIR##*/}
6
7
mkdir $FULLDIR
8
CDPATH=.:/tmp
9
cd $DIR
10
pwd
11
echo $PWD
12
13
cd $MYDIR
14
rmdir $FULLDIR