1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-20 10:28:27 +00:00
Files
operating-system/scripts/update-barebox.sh
2018-05-16 14:46:10 +02:00

10 lines
197 B
Bash
Executable File

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