|
@@ -1,10 +1,10 @@
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
|
-UID=$(id -u)
|
|
|
|
|
|
+_UID=$(id -u)
|
|
DEF_FILE="pytorch_GAN_zoo.def"
|
|
DEF_FILE="pytorch_GAN_zoo.def"
|
|
SIF_FILE="pytorch_GAN_zoo.sif"
|
|
SIF_FILE="pytorch_GAN_zoo.sif"
|
|
|
|
|
|
-if [ "$UID" = 0 ]; then
|
|
|
|
|
|
+if [ "$_UID" = 0 ]; then
|
|
singularity build $SIF_FILE $DEF_FILE
|
|
singularity build $SIF_FILE $DEF_FILE
|
|
else
|
|
else
|
|
singularity build --fakeroot $SIF_FILE $DEF_FILE
|
|
singularity build --fakeroot $SIF_FILE $DEF_FILE
|