Files
operating-system/scripts/update-supervisor.sh
2018-05-16 14:46:10 +02:00

10 lines
177 B
Bash
Executable File

#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "Need a version!"
exit 1
fi
sed -i "s/SUPERVISOR_VERSION=\".*\"/SUPERVISOR_VERSION=\"$1\"/g" buildroot-external/configs/*