diff options
Diffstat (limited to 'scripts/oe-setup-rpmrepo')
| -rwxr-xr-x | scripts/oe-setup-rpmrepo | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/oe-setup-rpmrepo b/scripts/oe-setup-rpmrepo index 03372b6199..fc2f7a8c0c 100755 --- a/scripts/oe-setup-rpmrepo +++ b/scripts/oe-setup-rpmrepo | |||
| @@ -17,9 +17,15 @@ | |||
| 17 | # along with this program; if not, write to the Free Software | 17 | # along with this program; if not, write to the Free Software |
| 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | 19 | ||
| 20 | |||
| 21 | # Don't use TMPDIR from the external environment, it may be a distro | ||
| 22 | # variable pointing to /tmp (e.g. within X on OpenSUSE) | ||
| 23 | # Instead, use OE_TMPDIR for passing this in externally. | ||
| 24 | TMPDIR="$OE_TMPDIR" | ||
| 25 | |||
| 20 | function usage() { | 26 | function usage() { |
| 21 | echo "Usage: $0 <rpm-dir>" | 27 | echo "Usage: $0 <rpm-dir>" |
| 22 | echo " <rpm-dir>: default is $TPMDIR/deploy/rpm" | 28 | echo " <rpm-dir>: default is $TMPDIR/deploy/rpm" |
| 23 | } | 29 | } |
| 24 | 30 | ||
| 25 | if [ $# -gt 1 ]; then | 31 | if [ $# -gt 1 ]; then |
