summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_openwrt.sh2
-rw-r--r--bin/reproducible_openwrt_common.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 3b2c5478..3e523aaa 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -98,7 +98,7 @@ DBD_BAD_PKGS_HTML=$(mktemp --tmpdir=$TMPDIR)
GOOD_IMAGES=0
ALL_IMAGES=0
SIZE=""
-create_results_dirs
+create_results_dirs openwrt
cd $TMPDIR/b1
tree .
for i in * ; do
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index c280d05c..34226ddf 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -19,7 +19,8 @@ cleanup_tmpdirs() {
}
create_results_dirs() {
- mkdir -p $BASE/openwrt/dbd
+ local project=$1
+ mkdir -p $BASE/$project/dbd
}
# type = openwrt or lede