OSDN Git Service

Use pwd if PWDCMD is undefined. Add missing echo command.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jan 1993 23:54:42 +0000 (23:54 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jan 1993 23:54:42 +0000 (23:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3305 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixinc.svr4

index 9560e74..b23136f 100755 (executable)
@@ -59,7 +59,7 @@ case $LIB in
 /*)
        ;;
 *)
-       cd $LIB; LIB=`${PWDCMD}`
+       cd $LIB; LIB=`${PWDCMD-pwd}`
        ;;
 esac
 
@@ -197,7 +197,7 @@ while [ $# != 0 ]; do
        if cmp $file $2/$file >/dev/null 2>&1; then
           rm $2/$file
        else
-          Fixed $file
+          echo Fixed $file
        fi
       fi
   done