summaryrefslogtreecommitdiff
path: root/curvetun/nacl_path.sh
blob: 9f492ba012286c4f3c71d713e5b0dfa52aaf2830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# -*- coding: utf-8 -*-
#
# nacl_path.sh -- NaCl path export script
#
# Copyright (C) 2009-2011 Emmanuel Roullit <emmanuel@netsniff-ng.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.

nacl_include_path="$1"
nacl_lib_path="$2"

if test -z $nacl_include_path || test -z $nacl_lib_path; then
	echo "Please input the path where NaCl is like the following:"
	echo "./$0.sh <include_path> <lib_path>"
	exit 1
fi

echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc
echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc
' value='reload'/>
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-03 16:18:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-03 16:18:51 -0800
commita0a28644c1cf191e514dd64bf438e69c178b8440 (patch)
tree4a5140d2f13692f91ca012d0eab146e9f366ce95 /drivers/usb/misc/usbtest.c
parenta49e6f584e29785f9e5eb8dd31435746818dd5c4 (diff)
parent6f3e71c0c3f2479e05682e2e563b75decab36591 (diff)
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fix from James Bottomley: "A single fix this time: a fix for a virtqueue removal bug which only appears to affect S390, but which results in the queue hanging forever thus causing the machine to fail shutdown" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: virtio_scsi: Reject commands when virtqueue is broken
Diffstat (limited to 'drivers/usb/misc/usbtest.c')