home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / arraysvcs.idb / usr / lib / array / acpr.z / acpr
Encoding:
Text File  |  1997-02-07  |  295 b   |  20 lines

  1. #!/bin/sh
  2. #
  3. # Simple script to invoke cpr for an array session
  4. #
  5. # USAGE: acpr <real-user> <real-group> <args-to-cpr...>
  6. #
  7.  
  8. CPR=${CPR:-/usr/bin/cpr}
  9.  
  10. #
  11. # Invoke cpr if it actually exists
  12. #
  13. if [ -x $CPR ]; then
  14.     exec $CPR -A $*
  15. else
  16.     echo "Sorry, CPR is not supported on this system"
  17.     exit 1
  18. fi
  19.  
  20.