-rwxr-xr-x | scripts/mkipkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mkipkg b/scripts/mkipkg index 7877078..9c5e184 100755 --- a/scripts/mkipkg +++ b/scripts/mkipkg | |||
@@ -315,4 +315,5 @@ mkdir -p $tempDir | |||
315 | if [ $? != 0 ]; then | 315 | if [ $? != 0 ]; then |
316 | echo "$self: cannot create $tempDir, exiting..." | 316 | echo "$self: cannot create $tempDir, exiting..." |
317 | rm -rf $tempDir | ||
317 | exit 1 | 318 | exit 1 |
318 | fi | 319 | fi |
@@ -332,4 +333,5 @@ createFileList $ctrldir/control.new ipkgFileList | |||
332 | if [ "$?" != "0" ]; then | 333 | if [ "$?" != "0" ]; then |
333 | echo "$self: ERROR: missing files, not building $control" | 334 | echo "$self: ERROR: missing files, not building $control" |
335 | rm -rf $tempDir | ||
334 | exit 1 | 336 | exit 1 |
335 | fi | 337 | fi |