Subject: Re: [bug#55118] [PATCH] gnu: Add phoronix-test-suite.

From: Maxime Devos <[email-masked]>
Date: Tue, 26 Apr 2022 09:18:10 +0200

phodina via Guix-patches via schreef op di 26-04-2022 om 03:53 [+0000]:
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url
> +                    
> "https://github.com/phoronix-test-suite/phoronix-test-suite")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "1q509piv5r8lkx82n9qgma19wd01f5ihy1ks1604865fwah1jg19"))))

I can't say I'm familiar with the quoting rules of shell but there seem
to be some quoees missing around $PATH in ...

  PATH="`echo $PATH | sed -e s/:[\.]:/:/g -e s/:[\.]// -e  s/[\.]://`"

`dirname $0` in 

	export PTS_DIR=$(readlink -f `dirname $0`)

(maybe also around the whole $(...)) construct.

E.g., try readlink -f `echo 0 1` -- instead of reading the file "0 1",
it reads "0" and "1".

Greetings,
Maxime.