You need to sign in or sign up before continuing.
source command using ydbinstall script leaves user in deleted directory
Final Release Note
Sourcing the ydbinstall
/ ydbinstall.sh
script reports an error. Previously, it completed the installation, but then left the shell in a directory that had been deleted. Note that the file is designed to be run as its own process, not sourced by an existing shell process. [#435 (closed)]
Description
When the source command is used, the user is left in a directory tht has been deleted.
# source ydbinstall.sh
YottaDB version r1.24 installed successfully at /usr/local/lib/yottadb/r124
YottaDB pkg-config file installed successfully at /usr/share/pkgconfig/yottadb.pc
root:/tmp/tmp.56w35Au45T/tmp/yottadb_r124# ls
root:/tmp/tmp.56w35Au45T/tmp/yottadb_r124# pwd
/tmp/tmp.56w35Au45T/tmp/yottadb_r124
root@:/tmp/tmp.56w35Au45T/tmp/yottadb_r124# ls
root@:/tmp/tmp.56w35Au45T/tmp/yottadb_r124# cd ..
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
root@:/tmp/tmp.56w35Au45T/tmp/yottadb_r124/..# ls
root@:/tmp/tmp.56w35Au45T/tmp/yottadb_r124/..# pwd
/tmp/tmp.56w35Au45T/tmp/yottadb_r124/..
root@:/tmp/tmp.56w35Au45T/tmp/yottadb_r124/..# cd /tmp
Draft Release Note
Edited by K.S. Bhaskar