forked from Mirrors/flatpak-builder
test-configure: use correct quoting
CFLAGS, FOO, BAR may contain spaces. Signed-off-by: Simon McVittie <smcv@debian.org>tingping/wmclass
parent
d4738cca16
commit
aa91b28a74
|
@ -7,14 +7,14 @@ fi
|
||||||
cat <<EOF > Makefile
|
cat <<EOF > Makefile
|
||||||
all:
|
all:
|
||||||
echo Building
|
echo Building
|
||||||
if [ x\$(CFLAGS) != "x-O2 -g" ]; then exit 1; fi
|
if [ "x\$(CFLAGS)" != "x-O2 -g" ]; then exit 1; fi
|
||||||
if [ x\$(FOO) != xbar ]; then exit 1; fi
|
if [ "x\$(FOO)" != xbar ]; then exit 1; fi
|
||||||
if [ x\$(BAR) != x2 ]; then exit 1; fi
|
if [ "x\$(BAR)" != x2 ]; then exit 1; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
echo Installing
|
echo Installing
|
||||||
if [ x\$(FOO) != xbar ]; then exit 1; fi
|
if [ "x\$(FOO)" != xbar ]; then exit 1; fi
|
||||||
if [ x\$(BAR) != x3 ]; then exit 1; fi
|
if [ "x\$(BAR)" != x3 ]; then exit 1; fi
|
||||||
mkdir -p /app/bin
|
mkdir -p /app/bin
|
||||||
cp -a hello2.sh /app/bin/
|
cp -a hello2.sh /app/bin/
|
||||||
mkdir -p /app/share
|
mkdir -p /app/share
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"path": "test-configure",
|
"path": "test-configure",
|
||||||
"dest-filename": "configure",
|
"dest-filename": "configure",
|
||||||
"sha256": "ce0a7014057cc45ac6cfa4b84fe848d46b1225f4ce03f1b52d5ab73521816cbf"
|
"sha256": "675a1ac2feec4d4f54e581b4b01bc3cfd2c1cf31aa5963574d31228c8a11b7e7"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "file",
|
"type": "file",
|
||||||
|
|
Loading…
Reference in New Issue