summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgsync-ng-nt6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgsync-ng-nt b/pkgsync-ng-nt
index d8c8d8f..da1f32a 100755
--- a/pkgsync-ng-nt
+++ b/pkgsync-ng-nt
@@ -11,7 +11,7 @@
# AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-if [ -z "PACKAGE_NAME" ]; then
+if [ -z "$PACKAGE_NAME" ]; then
PACKAGE_NAME="pkgsync-ng-nt"
fi
@@ -66,9 +66,11 @@ Conflicts: $DONT_INSTALL
Description: Metapackage for all needed packages.
This is a dummy package, depending on other packages to make Package Management easier.
EOF
-if ! [ -z ""$PACKAGE_MAINTAINER ]; then
+set +u
+if ! [ -z "$PACKAGE_MAINTAINER" ]; then
echo "Maintainer: $PACKAGE_MAINTAINER" >> "$PACKAGE_NAME"
fi
+set -u
equivs-build "$PACKAGE_NAME"