]> sigrok.org Git - sigrok-cli.git/commitdiff
nsis: Fix File/RMDir copy-paste error.
authorUwe Hermann <redacted>
Wed, 1 Jan 2014 19:42:18 +0000 (20:42 +0100)
committerUwe Hermann <redacted>
Wed, 1 Jan 2014 19:42:18 +0000 (20:42 +0100)
contrib/sigrok-cli_cross.nsi.in

index f9a76b150476ac393467411d6142754fbd5fd278..ad8d7d210d20f9966db2fc2c19ac1f181b0d9621 100644 (file)
@@ -229,7 +229,7 @@ Section "Uninstall"
        RMDir /r "$INSTDIR\decoders\*"
 
        # Delete the firmware files.
-       File /r "$INSTDIR\firmware\*"
+       RMDir /r "$INSTDIR\firmware\*"
 
        # Delete the install directory and its sub-directories.
        RMDir "$INSTDIR\decoders"