Magarto wrote: > Hi. I am trying to patch my ubuntu feisty with your 2.6.21 and 2.6.22 > patches with this error when I execute "apply". I have tried it in > 2.6.21.3, 2.6.21.5 and 2.6.22-rc5 (last with 2.6.22 patches) > > # ./apply /usr/src/linux-2.6.21.5/ > > And the result is: > > [: 6: ==: unexpected operator
The apply script specifies the POSIX shell (/bin/sh), but uses the bash specific == operator. Either change /bin/sh to /bin/bash in the first line or use POSIX correct = operator instead of == in the if statement in line 3. Ortwin -- [web] http://www.odi.ch/ [blog] http://www.odi.ch/weblog/ [pgp] key 0x81CF3416 finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mactel-linux-users mailing list Mactel-linux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-users