diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-12-18 13:26:04 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-12-18 13:26:04 +0000 |
commit | 6a36abc1da43060585a45628bc5d8bbc79152c2a (patch) | |
tree | 14d93047188257dd39fa9a69af7fc73101908c43 | |
parent | Remove ebuilds I do not intend to maintain anymore (diff) | |
download | angelos-6a36abc1da43060585a45628bc5d8bbc79152c2a.tar.gz angelos-6a36abc1da43060585a45628bc5d8bbc79152c2a.tar.bz2 angelos-6a36abc1da43060585a45628bc5d8bbc79152c2a.zip |
Make variables modifiable
-rwxr-xr-x | scripts/mount-chroot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mount-chroot.sh b/scripts/mount-chroot.sh index 17b45c1..ad419c7 100755 --- a/scripts/mount-chroot.sh +++ b/scripts/mount-chroot.sh @@ -14,9 +14,9 @@ if [ ! -d "$@"/dev ]; then exit 1 fi -PORTDIR="$(portageq portdir)" -DISTDIR="$(portageq envvar DISTDIR)" -PKGDIR="$(portageq envvar PKGDIR)" +: ${PORTDIR="$(portageq portdir)"} +: ${DISTDIR="$(portageq envvar DISTDIR)"} +: ${PKGDIR="$(portageq envvar PKGDIR)"} mount --bind /dev "$@"/dev mount --bind /dev/pts "$@"/dev/pts |