Make target writable
authorceriel <none@none>
Fri, 18 Oct 1991 10:07:38 +0000 (10:07 +0000)
committerceriel <none@none>
Fri, 18 Oct 1991 10:07:38 +0000 (10:07 +0000)
first/mk_target
util/shf/proto.make

index 9e483b1..3580872 100755 (executable)
@@ -17,7 +17,6 @@ create_dir $TARGET_HOME/bin
 cp local.h em_path.h $TARGET_HOME/config
 ( cd $SRC_HOME/bin ; tar cf - . ) | ( cd $TARGET_HOME/bin ; tar xf - )
 echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys
-chmod +x $TARGET_HOME/bin/ack_sys
 
 : machine-independant stuff
 
@@ -40,4 +39,7 @@ cp $SRC_HOME/etc/ip_spec.t $TARGET_HOME/etc/ip_spec.t
 ( cd $SRC_HOME/man ; tar cf - . ) | ( cd $TARGET_HOME/man ; tar xf - )
 ( cd $SRC_HOME/doc ; tar cf - . ) | ( cd $TARGET_HOME/doc ; tar xf - )
 
+cd $TARGET_HOME
+find . -type f -exec chmod +w {} \;
+
 exit 0
index 507fe09..aecc977 100644 (file)
@@ -5,6 +5,7 @@
 install:
        -rm -f $(TARGET_HOME)/bin/march
        cp $(SRC_HOME)/util/shf/march.sh $(TARGET_HOME)/bin/march
+       chmod +w $(TARGET_HOME)/bin/march
 
 clean:
        @echo always clean