User forums > Help

problem with update.sh

<< < (3/6) > >>

stodge:
How embarassing I ran dos2unix on update.sh and not just update. It still doesn't completely work though:

--- Code: ---Copying files
cp: `output/share/CodeBlocks': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/lexers': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/images': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/images/codecompletion': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: omitting directory `templates/common/CVS'
cp: omitting directory `templates/unix/CVS'
cp: copying multiple files, but last argument `output' is not a directory
Try `cp --help' for more information.
cp: accessing `output/share/CodeBlocks/plugins': Not a directory
Stripping debug info from output tree
strip: Warning: could not locate 'output/*.exe'.  reason: Not a directory
strip: Warning: could not locate 'output/*.so'.  reason: Not a directory
strip: Warning: could not locate 'output/share/CodeBlocks/plugins/*.so'.  reason: Not a directory
Creating launch-scripts
update: line 62: output/run.sh: Not a directory
update: line 63: output/run.sh: Not a directory
update: line 64: output/run.sh: Not a directory
update: line 65: output/run.sh: Not a directory
update: line 66: output/run.sh: Not a directory
chmod: cannot access `output/run.sh': Not a directory
--- End code ---

grv575:
For whatever reason the mkdir -p commands are failing


--- Code: ---mkdir -p output/share/CodeBlocks/lexers
mkdir -p output/share/CodeBlocks/images/codecompletion
mkdir -p output/share/CodeBlocks/plugins
mkdir -p output/share/CodeBlocks/templates

--- End code ---

Try typing those in the shell by themselves and see why your system doesn't like them.  I'd guess a permissions problem.

stodge:
Odd:

-rw-r--r--   1 mike mike 11523051 Aug 28 19:09 output

rickg22:
hmmmm....

maybe we need to include a chmod in there...

grv575:
nothing is installed and the user owns all subdirectories.  not sure why his update is failing.

stodge:  Maybe the directory needs to be marked executable.
try chmod 755 -R codeblocks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version