|
@@ -37,9 +37,9 @@ if ("$^O" =~ /linux/i || (-d "/etc" && -d "/var" && "$^O" !~ /cygwin/i)) { $OS='
|
|
|
elsif (-d "/etc" && -d "/Users") { $OS='macosx'; $CR=''; }
|
|
|
elsif ("$^O" =~ /cygwin/i || "$^O" =~ /win32/i) { $OS='windows'; $CR="\r"; }
|
|
|
if (! $OS) {
|
|
|
- print "makepack-dolbarrmodule.pl was not able to detect your OS.\n";
|
|
|
+ print "$PROG.$Extension was not able to detect your OS.\n";
|
|
|
print "Can't continue.\n";
|
|
|
- print "makepack-dolibarrmodule.pl aborted.\n";
|
|
|
+ print "$PROG.$Extension aborted.\n";
|
|
|
sleep 2;
|
|
|
exit 1;
|
|
|
}
|
|
@@ -59,7 +59,7 @@ if ($OS =~ /windows/) {
|
|
|
if (! $TEMP || ! -d $TEMP) {
|
|
|
print "Error: A temporary directory can not be find.\n";
|
|
|
print "Check that TEMP or TMP environment variable is set correctly.\n";
|
|
|
- print "makepack-dolibarrmodule.pl aborted.\n";
|
|
|
+ print "$PROG.$Extension aborted.\n";
|
|
|
sleep 2;
|
|
|
exit 2;
|
|
|
}
|