summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-06-19 00:46:45 -0400
committerMax Rees <maxcrees@me.com>2019-07-20 20:29:46 -0400
commit5ecfc84bc620859a57c8364bda636cbca14c46e6 (patch)
tree7c543ecac45be3212741c7361baf3d4d8b1f91ec /tests
parentefc6792152a1b5fba1165a0ff41ccf74541ca134 (diff)
downloadabuild-5ecfc84bc620859a57c8364bda636cbca14c46e6.tar.gz
abuild-5ecfc84bc620859a57c8364bda636cbca14c46e6.tar.bz2
abuild-5ecfc84bc620859a57c8364bda636cbca14c46e6.tar.xz
abuild-5ecfc84bc620859a57c8364bda636cbca14c46e6.zip
Initial removal of bashisms
Diffstat (limited to 'tests')
-rw-r--r--tests/abuild/checkroot1/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/abuild/checkroot1/APKBUILD b/tests/abuild/checkroot1/APKBUILD
index 6165c55..e0c2532 100644
--- a/tests/abuild/checkroot1/APKBUILD
+++ b/tests/abuild/checkroot1/APKBUILD
@@ -13,7 +13,7 @@ subpackages=""
source=""
check() {
- [ $UID -ne 0 ] || return 1
+ [ "$(id -u)" -ne 0 ] || return 1
}
package() {