mirror of https://github.com/aredn/aredn.git
undo the renaming of output files that previously removed the -squashfs- portion to accomodate the OFS tool (#180)
This commit is contained in:
parent
7163819bf2
commit
f0c556941c
9
Makefile
9
Makefile
|
@ -150,15 +150,6 @@ compile: stamp-clean-compiled .stamp-compiled
|
|||
-name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
|
||||
-print \)`; do rm $$FILE; \
|
||||
done;
|
||||
for FILE in `find $(TOP_DIR)/firmware/targets/ -type f -a \
|
||||
\( -name "*ar71xx-generic-*" \
|
||||
-o -name "*ath79-generic-*" \
|
||||
-o -name "*ar71xx-mikrotik*squashfs*" \
|
||||
\) -print`; do \
|
||||
NEWNAME="$${FILE/generic-/}"; \
|
||||
NEWNAME="$${NEWNAME/squashfs-/}"; \
|
||||
mv "$$FILE" "$$NEWNAME"; \
|
||||
done;
|
||||
$(TOP_DIR)/scripts/tests-postbuild.sh
|
||||
|
||||
$(TOP_DIR)/firmware:
|
||||
|
|
|
@ -631,15 +631,15 @@ print <<EOF;
|
|||
var efn = "";
|
||||
if(hwmfg != "cpe"){
|
||||
if (hwmfg == "wbs") {
|
||||
searchstring= ".*wbs" + hwtype + "-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
||||
searchstring= ".*wbs" + hwtype + ".*-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}.*-sysupgrade.bin";
|
||||
} else {
|
||||
searchstring= ".*(-|_)" + hwtype + "-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}-sysupgrade.bin";
|
||||
searchstring= ".*(-|_)" + hwtype + ".*-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}.*-sysupgrade.bin";
|
||||
}
|
||||
} else {
|
||||
searchstring= ".*cpe" + hwtype + "-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
||||
searchstring= ".*cpe" + hwtype + ".*-sysupgrade.bin$\";
|
||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}.*-sysupgrade.bin";
|
||||
}
|
||||
var re = new RegExp(searchstring,"g");
|
||||
if(elem.value.match(re)){
|
||||
|
|
Loading…
Reference in New Issue