portability improvements for wineshelllink script

Francois Gouget fgouget at free.fr
Sat May 7 05:52:06 CDT 2005

On Sat, 7 May 2005, Robert Lunnon wrote:
> # diff -u wineshelllink.old  wineshelllink
> --- wineshelllink.old   mer mai   4 11:47:30 2005
> +++ wineshelllink       mer mai   4 11:50:03 2005
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash

This is wrong. Some users may not have bash installed and the script 
should still work on their systems. So the fix is not to make the 
script fail to run on any system which does not have bash but to 
modify it so it works with any standard Bourne shell, including the 
Solaris one.

Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                      Linux: the choice of a GNU generation

More information about the wine-devel mailing list