forked from mirrors/nixpkgs
Script I used to derive the aliases on OpenBSD
svn path=/nixpkgs/branches/stdenv-updates/; revision=19815
This commit is contained in:
parent
318091ed2b
commit
a879785099
58
pkgs/stdenv/native/derivealiases-openbsd.sh
Normal file
58
pkgs/stdenv/native/derivealiases-openbsd.sh
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/fileutils-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/findutils-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/gdiff-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/ggrep-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/gmake-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/gsed-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
for i in `cat /var/db/pkg/gtar-*/+CONTENTS | grep "bin/g"`
|
||||||
|
do
|
||||||
|
name=`basename $i`
|
||||||
|
echo "alias ${name:1}='g${name:1}'"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
Loading…
Reference in a new issue