summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2015-07-13 23:39:31 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2015-07-13 23:39:31 +0900
commit521f543907e827dc08d1be1642e1229f1919493e (patch)
tree13492e576afc69e4f5fd785afa63efd17aad556f
parent1d57640164fe2c058b2eaf8d5511954156e65520 (diff)
shell: Add if or script.HEADmaster
-rwxr-xr-xshellscript/if_or.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/shellscript/if_or.sh b/shellscript/if_or.sh
new file mode 100755
index 0000000..b21508d
--- /dev/null
+++ b/shellscript/if_or.sh
@@ -0,0 +1,10 @@
1#!/bin/bash
2
3#lib="efl"
4lib="elementary"
5
6if [ $lib == "efl" -o $lib == "elementary" ]; then
7 echo "true"
8else
9 echo "false"
10fi