#!/bin/bash set -e if [ -z ${dir+x} ]; then echo "\$dir not set, skipping."; exit 22; else if [ -z ${icf+x} ]; then echo "ICF url not set, skipping."; else wget $icf -O $dir/segatools/amfs/ICF1 fi fi