more porable syntax for su
authorivan <ivan>
Wed, 9 Feb 2005 01:08:07 +0000 (01:08 +0000)
committerivan <ivan>
Wed, 9 Feb 2005 01:08:07 +0000 (01:08 +0000)
Makefile

index 9d6a37d..215ec14 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -185,7 +185,7 @@ install-init:
        ${INIT_INSTALL}
 
 install-selfservice:
        ${INIT_INSTALL}
 
 install-selfservice:
-       [ -e ~freeside/.ssh/id_dsa.pub ] || su -c 'ssh-keygen -t dsa' - freeside
+       [ -e ~freeside/.ssh/id_dsa.pub ] || su - freeside -c 'ssh-keygen -t dsa'
        for MACHINE in ${SELFSERVICE_MACHINES}; do \
          scp -r fs_selfservice/FS-SelfService ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\
          ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\
        for MACHINE in ${SELFSERVICE_MACHINES}; do \
          scp -r fs_selfservice/FS-SelfService ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\
          ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\