I was experimenting with using checkinstall with a custom install script, and ran into a really weird problem that I'm not sure whether it's caused by a bug in checkinstall or my inability to properly use it. Specifically, for one of my own projects, the "install" script simply involves copying a build folder to /usr/local, so I made the following install.sh file:
Code: Select all
cp -rv myproj /usr/local/ # myproj is the directory I'm trying to copy
Code: Select all
checkinstall ./install.sh
Code: Select all
cp: cannot stat '/usr/local/myproj': No such file or directory
If anyone could help me figure out what's going on here, that would be greatly appreciated. Please let me know if you need any more info!
Thank you!