From 643dfa498ed4f64741a3b279211ec2468f62d627 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Fri, 30 Nov 2012 14:54:12 -0800 Subject: [PATCH] compat-drivers: update refresh-compat scripts This updates the refresh-compat scripts to account for having patches in extended directories. Signed-off-by: Luis R. Rodriguez --- scripts/refresh-compat | 2 +- scripts/refresh-compat-local | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/refresh-compat b/scripts/refresh-compat index b95b855cecee..21ff77d1d81b 100755 --- a/scripts/refresh-compat +++ b/scripts/refresh-compat @@ -84,7 +84,7 @@ for i in $COPY ; do if [[ -f ${COMPAT_SRC}${i} ]]; then DIR=$(dirname $i) if [[ ! -d $DIR ]]; then - mkdir $DIR + mkdir -p $DIR fi if [[ -x ${COMPAT_SRC}${i} ]]; then diff --git a/scripts/refresh-compat-local b/scripts/refresh-compat-local index e8c949e7c6f1..53963df3d9a5 100755 --- a/scripts/refresh-compat-local +++ b/scripts/refresh-compat-local @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright 2012 Luis R. Rodriguez +# Copyright 2012 Luis R. Rodriguez # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above -- 2.30.2