t0240: improve ipfsi()
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Oct 3, 2015 at 22:33 UTC
e6890e1b639cf8efbbba6e8bb5e7dead6fc482d5
1 file changed
+3
-1
test/sharness/t0240-republisher.sh
+3
-1
@@ -12,7 +12,9 @@ export IPTB_ROOT="`pwd`/.iptb"
12
export DEBUG=true
13
14
ipfsi() {
15
- local dir=$1; shift; IPFS_PATH="$IPTB_ROOT/$dir" ipfs $@
15
+ dir="$1"
16
+ shift
17
+ IPFS_PATH="$IPTB_ROOT/$dir" ipfs "$@"
18
}
19
20
setup_iptb() {