]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - caesar/rot13.sh
Remove *another* set of useless casts. sheesh
[bsdgames-darwin.git] / caesar / rot13.sh
index 51517a13d813f8592ae0ce435fd98747c6219225..005ef8d03305b4b22b1323cbc7c4ac8af183a34f 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: rot13.sh,v 1.3 2000/04/24 13:21:26 hubertf Exp $
+#      $NetBSD: rot13.sh,v 1.7 2005/04/09 02:02:15 atatat Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -35,6 +35,5 @@
 #      @(#)rot13.sh    8.1 (Berkeley) 5/31/93
 #
 
-PATH="/usr/games:$PATH"; export PATH
-
-caesar 13 $*
+games="$(dirname $0)"
+exec "$games/caesar" 13 "$@"