need to create bin folder

This commit is contained in:
reddog 2011-12-27 22:30:57 +00:00
parent 1c534f4646
commit cedb01b91d
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ build() {
# rm -rf ./build_dir/files/
cd ../
if [ ! -d bin ]; then
mkdir bin
fi
case "$1" in
"dir300")
cp ./build_dir/bin/atheros/openwrt-atheros-root.squashfs ./bin/openwrt-$2-root.squashfs