summaryrefslogtreecommitdiffstats
path: root/mkmultiarch
diff options
context:
space:
mode:
Diffstat (limited to 'mkmultiarch')
-rwxr-xr-xmkmultiarch6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkmultiarch b/mkmultiarch
index 8ffaf4b..ec657c6 100755
--- a/mkmultiarch
+++ b/mkmultiarch
@@ -76,6 +76,8 @@ EOF
}
while [[ $# -gt 0 ]]; do
- dispatch_$type $1
- shift
+ file=$1
+ shift 1
+ [[ -f $file ]] || error "$file does not exist!"
+ dispatch_$type $file
done