projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: fix STAGING_DIR cleaning when filenames contain spaces
[openwrt/staging/mkresin.git]
/
scripts
/
clean-package.sh
diff --git
a/scripts/clean-package.sh
b/scripts/clean-package.sh
index e580566a528e0d613f22830012f0801979e13ba1..6dd9bf730686f4889f319834d19fe2bf7bd3b9b1 100755
(executable)
--- a/
scripts/clean-package.sh
+++ b/
scripts/clean-package.sh
@@
-1,4
+1,5
@@
#!/usr/bin/env bash
+IFS=$'\n'
[ -n "$1" -a -n "$2" ] || {
echo "Usage: $0 <file> <directory>"
exit 1