[NUI] Update NUI Slider default and dark themes (#2925)
[platform/core/csapi/tizenfx.git] / build.sh
index 372889f..99f4f0d 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -62,9 +62,9 @@ clean() {
 
 restore() {
   if [ -d /nuget ]; then
-    dotnet restore -s /nuget $1
+    dotnet restore -s /nuget $@
   else
-    dotnet restore $1
+    dotnet restore $@
   fi
 }
 
@@ -126,7 +126,7 @@ cmd_module_build() {
 cmd_full_build() {
   clean
   prepare_solution full
-  restore $SLN_FILE
+  restore $SLN_FILE $@
   build $SLN_FILE $@
   cleanup_solution
   build_artifacts
@@ -204,8 +204,8 @@ cmd_install() {
   nifile_cnt=$(sdb $SDB_OPTIONS shell find $TARGET_ASSEMBLY_DIR -name '*.ni.dll' | wc -l)
   if [ $nifile_cnt -gt 0 ]; then
     sdb $SDB_OPTIONS shell "rm -f $TARGET_ASSEMBLY_DIR/*.ni.dll"
-    sdb $SDB_OPTIONS shell nitool --system
-    sdb $SDB_OPTIONS shell nitool --regen-all-app
+    sdb $SDB_OPTIONS shell dotnettool --ni-system
+    sdb $SDB_OPTIONS shell dotnettool --ni-regen-all-app
   fi
 
   sdb $SDB_OPTIONS shell chsmack -a '_' $TARGET_ASSEMBLY_DIR/*