pkgmaker: comment out debug output using #if 0
[openadk.git] / scripts / create-pkg
blobb9b47ae2ab57082bd13a6c35de7e6cbdc19c0388
1 #!/usr/bin/env bash
2 topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P))
4 mkdir -p $topdir/target/packages/pkg-enabled
5 count=1
6 for i in $(ls $topdir/target/packages/pkg-available/);do
7 cd $topdir/target/packages/pkg-enabled &&
8 ln -sf ../pkg-available/$i $count-$i
9 count=$((count+1))
10 done