Open
Description
Here is the use case
cd /root
vi k.sh
#!/bin/ksh
export PATH=.:$PATH:/root/mybin
cur = $(cd /root/mybin; pwd)
ls
cp /bin/ls /root/mybin
This shell script will not be able to execute the last ls; not found ls;
When you comment out the cur line, you can find ls
But there is no problem with this branch: https://github.com/ksh-community/ksh
Metadata
Metadata
Assignees
Labels
No labels