case "$1" in bin) DEST_BINDIR="BINDIR" ;; sbin) DEST_BINDIR="SBINDIR" ;; cgi) DEST_BINDIR="CGIDIR" ;; **) echo "One argument required: binary location (bin, sbin or cgi)." exit 1 ;; fi do_parameter_subst DEST_BINDIR true # kate: replace-trailing-space-save true; space-indent true; tab-width 4; # vim: syntax=sh:expandtab:ts=4:sw=4