Skip to content

Commit 9966e0a

Browse files
Per Goncalves da Silvaperdasilva
authored andcommitted
Add resource dir env var to demo generation script
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent c7cfddf commit 9966e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/demo/generate-asciidemo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
trap cleanup SIGINT SIGTERM EXIT
44

55
SCRIPTPATH="$( cd -- "$(dirname "$0")" > /dev/null 2>&1 ; pwd -P )"
6+
export DEMO_RESOURCE_DIR="${SCRIPTPATH}/resources"
67

78
check_prereq() {
89
prog=$1
@@ -80,7 +81,6 @@ for prereq in "asciinema curl"; do
8081
check_prereq ${prereq}
8182
done
8283

83-
8484
curl https://raw.githubusercontent.com/zechris/asciinema-rec_script/main/bin/asciinema-rec_script -o ${WKDIR}/asciinema-rec_script
8585
chmod +x ${WKDIR}/asciinema-rec_script
8686
screencast=${WKDIR}/${DEMO_NAME}.cast ${WKDIR}/asciinema-rec_script ${SCRIPTPATH}/${DEMO_SCRIPT}

0 commit comments

Comments
 (0)