Hi experts,
After leaving the 64-system for a while, yesterday when I returned to it,
I found with displeasure that the script do_dchroot (I am
refering to the Debian GNU/Linux AMD64 HOW-TO by Rosenberg,
Iverson, von Brederlow, Schueler, Mills and Pariset) does not
work any more. The error message: line 7: exec: dchroot: not
found.

dchroot was there and kicking: when I tried 
dchroot -c ia32 -d xv *jpg it worked well.

I tried instead the script xv32:
#!/bin/sh
/usr/bin/dchroot -c ia32 -d -q xv $*

Output: /usr/bin/dchroot: no such file or directory

The only way it worked was:
#!/bin/sh
if [ -f /usr/bin/dchroot ]; then dchroot -c ia32 -d -q xv $*; fi

I tried then to combine the conditional with the original
do_dchroot:
#!/bin/sh
ARGS=""
for i in "$@" ; do
        ARGS="$ARGS '$i'"
done

#exec dchroot -c ia32 -d -q "`basename $0`" "$ARGS"
if [ -f /usr/bin/dchroot ]; then exec dchroot -c ia32 -d -q "`basename $0`" 
"$ARGS"; fi

This time there were no error messages, but no output either.

I'll be damned!

Any ideas ?

Thanks, Avraham

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to