diff options
Diffstat (limited to 'automated/linux/device-tree/device-tree.sh')
-rwxr-xr-x | automated/linux/device-tree/device-tree.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/device-tree/device-tree.sh b/automated/linux/device-tree/device-tree.sh index f2deea2..5f4e15a 100755 --- a/automated/linux/device-tree/device-tree.sh +++ b/automated/linux/device-tree/device-tree.sh @@ -53,8 +53,7 @@ device_tree_property() { # Test run. ! check_root && error_msg "This script must be run as root" -[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)" -mkdir -p "${OUTPUT}" +create_out_dir "${OUTPUT}" if [ -f /proc/config.gz ] then |