t) tags="$tags $OPTARG" ;;
c) tags="$tags configuration" ;;
C) create=1 ;;
- *) echo 'unknown option'; exit 1 ;;
+ *) echo 'unknown option' $opt; exit 1 ;;
esac
done
shift $((OPTIND - 1))
#strip=$(cleanpath "$strip")
for path in $*; do
- echo adding $path
+ #echo adding $path
mtime=$(zpm stat -f '%y' $path)
uid=$(zpm stat -f '%u' $path)
gid=$(zpm stat -f '%g' $path)
;;
esac
+ # TODO check that we have such a package,version,release
zpm shell $pkgfile <<EOS
PRAGMA foreign_keys = ON;
begin;