Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Question about new bash
Date: Sun, 29 Jan 2006 18:44:22
Message-Id: 43DD0B9A.9080007@mid.email-server.info
In Reply to: [gentoo-user] OT - Question about new bash by Michael Sullivan
1 Michael Sullivan wrote:
2
3 > As I said, before the bash upgrade this worked perfectly. Now, when I
4 > try to run it, I get this:
5 >
6 > michael@bullet ~ $ system/resizepics
7 > system/resizepics: line 11: [: too many arguments
8 > system/resizepics: line 11: [: too many arguments
9
10 I don't get this error, when I run your script. How
11 are the files named? Do they have spaces in the file
12 name? If so - and even if not - I'd *STRONGLY* suggest
13 to enclose current/$x in quotes, like so:
14
15 if [ ! -e "current/$x" ]; then
16
17 Alexander Skwar
18 --
19 R Tape loading error, 0:1
20 --
21 gentoo-user@g.o mailing list