summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-22 00:35:26 +0000
committerrillig <rillig>2006-10-22 00:35:26 +0000
commit0cca4581ef13e2ba7ecfc6af9079fbb759c6ab64 (patch)
tree5d81fe3ae1dc95db0cc2f9f67f770a4e74564789 /mk/scripts
parentb1ed63271e464f1f183ce64288ec90dbb2da3975 (diff)
downloadpkgsrc-0cca4581ef13e2ba7ecfc6af9079fbb759c6ab64.tar.gz
Removed setargs_from_cmd, as it is unused.
Diffstat (limited to 'mk/scripts')
-rw-r--r--mk/scripts/shell-lib13
1 files changed, 1 insertions, 12 deletions
diff --git a/mk/scripts/shell-lib b/mk/scripts/shell-lib
index 23a45cd4876..9b57fc637a9 100644
--- a/mk/scripts/shell-lib
+++ b/mk/scripts/shell-lib
@@ -1,4 +1,4 @@
-# $NetBSD: shell-lib,v 1.3 2005/08/24 21:51:10 rillig Exp $
+# $NetBSD: shell-lib,v 1.4 2006/10/22 00:35:26 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -383,14 +383,3 @@ fqueue_is_empty()
return 1
fi
}
-
-######################################################################
-# $setargs_from_cmd
-# Run $cmd and initialize the $@ array with the lines from that
-# command.
-# usage:
-# cmd="echo *"; eval "${setargs_from_cmd}"
-# for i in "$@"; do echo "($i)"; done
-######################################################################
-setargs_from_cmd='saved_IFS="${IFS}"; IFS="
-"; set args `eval "${cmd}"`; IFS="${saved_IFS}"; shift'