mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
avoid shell expansion.
See https://shlomif-tech.livejournal.com/14671.html .
This commit is contained in:
parent
1a0473050c
commit
3635ad6188
1 changed files with 9 additions and 8 deletions
|
@ -1,14 +1,15 @@
|
||||||
#! /bin/sh -Cefu
|
#! /bin/sh -Cefu
|
||||||
|
|
||||||
: ${PKGTREE:=/usr/local/packages/PySolFC}
|
: ${PKGTREE:=/usr/local/packages/PySolFC}
|
||||||
PIP=$(printf '%s/env/bin/pip install --no-binary :all: ' $PKGTREE)
|
PIP="$(printf '%s/env/bin/pip install --no-binary :all: ' "$PKGTREE")"
|
||||||
PYPROG=$(printf '%s/env/bin/python' $PKGTREE)
|
PYPROG="$(printf '%s/env/bin/python' "$PKGTREE")"
|
||||||
VERSION=$(env PYTHONPATH=`pwd` $PYPROG -c 'from pysollib.settings import VERSION ; print(VERSION)' )
|
VERSION="$(env PYTHONPATH=`pwd` "$PYPROG" -c 'from pysollib.settings import VERSION ; print(VERSION)')"
|
||||||
XZBALL=$(printf 'dist/PySolFC-%s.tar.xz' $VERSION)
|
XZBALL="$(printf 'dist/PySolFC-%s.tar.xz' "$VERSION")"
|
||||||
REQS='six random2 pillow'
|
reqs='six random2 pillow'
|
||||||
|
|
||||||
make dist
|
make dist
|
||||||
for req in $REQS ; do
|
for req in $reqs
|
||||||
$PIP $req
|
do
|
||||||
|
"$PIP" "$req"
|
||||||
done
|
done
|
||||||
$PIP --upgrade $XZBALL
|
"$PIP" --upgrade "$XZBALL"
|
||||||
|
|
Loading…
Add table
Reference in a new issue