aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy/fcopy.sh
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 20:21:21 +0000
committerLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 22:37:20 +0000
commit7a5c2b205e4f0c3700f41f2ccd2b104476b8f026 (patch)
tree1a4f33f8d68139a6bdac2657ed2e9860efc194d6 /test/fcopy/fcopy.sh
parenttests: stop mixing tabs and spaces (diff)
downloadfirejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.gz
firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.zst
firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.zip
tests: use bash-style [[...]] instead of [...]
Diffstat (limited to 'test/fcopy/fcopy.sh')
-rwxr-xr-xtest/fcopy/fcopy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh
index 4433f8248..72b87d14c 100755
--- a/test/fcopy/fcopy.sh
+++ b/test/fcopy/fcopy.sh
@@ -7,7 +7,7 @@ export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8export LC_ALL=C 8export LC_ALL=C
9 9
10if [ -f /etc/debian_version ]; then 10if [[ -f /etc/debian_version ]]; then
11 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") 11 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)")
12 export PATH="$PATH:$libdir" 12 export PATH="$PATH:$libdir"
13fi 13fi