13
0

Fix bundling demo sessions (mac, win)

This commit is contained in:
Robin Gareus 2022-01-17 19:50:06 +01:00
parent e0f6ef4369
commit 20824b6407
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 4 deletions

View File

@ -797,10 +797,10 @@ fi
################################################################################ ################################################################################
if test x$DEMO_SESSION_URL != x ; then if test x$DEMO_SESSION_URL != x ; then
mkdir -p $Shared/sessions mkdir -p ${PRODUCT_PKG_DIR}/$Shared/sessions
DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt) DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt)
for demo in $DEMO_SESSIONS; do for demo in $DEMO_SESSIONS; do
curl -s -S --fail -# -o $Shared/sessions/$demo $DEMO_SESSION_URL/$demo curl -s -S --fail -# -o ${PRODUCT_PKG_DIR}/$Shared/sessions/$demo $DEMO_SESSION_URL/$demo
done done
fi fi

View File

@ -355,10 +355,10 @@ fi
################################################################################ ################################################################################
if test x$DEMO_SESSION_URL != x ; then if test x$DEMO_SESSION_URL != x ; then
mkdir -p $Shared/sessions mkdir -p $DESTDIR/share/sessions
DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt) DEMO_SESSIONS=$(curl -s -S --fail $DEMO_SESSION_URL/index.txt)
for demo in $DEMO_SESSIONS; do for demo in $DEMO_SESSIONS; do
curl -s -S --fail -# -o $Shared/sessions/$demo $DEMO_SESSION_URL/$demo curl -s -S --fail -# -o $DESTDIR/share/sessions/$demo $DEMO_SESSION_URL/$demo
done done
fi fi