#!/bin/bash # -*- coding: utf-8 -*- # # nacl_path.sh -- NaCl path export script # # Copyright (C) 2009-2011 Emmanuel Roullit # # 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 " exit 1 fi echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc it.cgi/'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 17:17:16 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 17:36:06 -0400
commit6fdf339b0ca73abd879394ad03a9e4695d644e13 (patch)
tree2101a95060d740395a1106c93ac71b3e8301a7e0
parent139978239b53a981b45c53b835c020015c6c819e (diff)
NFSv4.2: Fix warning "variable ‘stateids’ set but not used"
Replace it with a test for whether or not the sent a stateid in violation of what we asked for. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>