[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make not setting SCCS-retrieved .sh files executable
From: |
Peter Welte |
Subject: |
make not setting SCCS-retrieved .sh files executable |
Date: |
Fri, 10 Mar 2006 17:35:24 -0800 |
User-agent: |
Internet Messaging Program (IMP) 3.2.6 |
Hello,
I created a shell script (foo.sh), checked it into sccs (sccs create foo.sh),
but then if I do 'sccs clean' then make with the following makefile, make gets
a copy of foo.sh, but doesn't set it executable:
makefile is this:
foo: foo.sh
foo.sh
Below is part of the Catalogue of Rules from the Make manual, which indicates
that make will set foo.sh executable.
SCCS
Any file `n' is extracted if necessary from an SCCS file named either `s.n'
or `SCCS/s.n' ... For the benefit of SCCS, a file `n' is copied from `n.sh' and
made executable (by everyone). This is for shell scripts that are checked into
SCCS.
Has anyone else had this problem? Thanks!
-peter
(*)
__o (*)|-__o- --+ --| \ / |__ o - \o/ o
_`\<,_ --/ \ @\| \o | o/ o/--- /\ | /|\
(*)/ (*) (*) (*)` ( \ /o\ / ) | (\ / | / \ / \
- make not setting SCCS-retrieved .sh files executable,
Peter Welte <=