projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf85f73
)
Remove backup files upon restore
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 5 Aug 2009 06:39:56 +0000
(23:39 -0700)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 5 Aug 2009 06:39:56 +0000
(23:39 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/driver-select
patch
|
blob
|
history
diff --git
a/scripts/driver-select
b/scripts/driver-select
index 544de59806b6ed59920ba3663291034ab0d30379..c7c97df9ab4cbc37706594fdae09b3a0855dc2c8 100755
(executable)
--- a/
scripts/driver-select
+++ b/
scripts/driver-select
@@
-120,7
+120,8
@@
function restore_file {
#ORIG=$(shell ${1%%.${BACKUP_EXT}})
ORIG=${1%%.bk}
cp $1 $ORIG
- echo -e "Restored makefile: ${CYAN}${ORIG}${NORMAL}"
+ rm -f $1
+ echo -e "Restored makefile: ${CYAN}${ORIG}${NORMAL} (and removed backup)"
}
function restore_compat {